Interface Mirror

Proper Solutions to Software Development Problems

  Home  |   Contact  |   Syndication    |   Login
  18 Posts | 8 Stories | 16 Comments | 1 Trackbacks

News



Article Categories

Archives

Post Categories

Link

General Programming

Quick resolution: Give full permission to AUTHENTICATED USERS in following folders. a) ORACLE_HOME b) Program Files\ORACLE Check your PATH. You might have installed different clients in your system and your .NET application is pointing to a home with inappoperiate client. What your .NET application should load is OCI.DLL with File version more than 8.1.7. According to the MSDN document Oracle and ADO.NET: "The .NET Framework Data Provider for Oracle provides access to an Oracle database using the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, I am working on LINQ since last few days and I think it is a very interesting technology to work on. Before that I used to work on Subsonic to generate code for my Data Access Layer, now by using LINQ not only I have my Data Access Layer but also a lot of more functionalities. Yesterday I faced a situation where I had to SELECT BETWEEN some values according to my LINQ query. At last I came to the point that LINQ does not have SELECT IN (a1,a2,a3 ...) so I had to do following: int [] data = new...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, The ASP.NET Profile stores more information about logged in user and gives the developer capability of playing with those information later on without coding much. A great use of Profile is when we would like to store more information about the user in our application. Since ASP.NET membership default implementation provides only basic information about the user like Username, password and Email and there is no chance to add more information like User's First name, Last name, Date of birth, Phone...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, By default membership provider in .net has a password policy that restricts you to have passwords of length 7 (at least) and one character among those 7 must be Alph-Numeric. There are various conditions that you want to overlook this policy. Following are the ways: Using minimum length and non-alphanumeric character <membership ...> <providers> <add minRequiredPasswordLength=5 minRequiredNonalphanumericC... /> </providers> </membership> Using regular expression...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, I just finished a very small module to gather RSS fields from Database and show them in my page. THIS POST FROM MSDN was really helpful and it is just what I wanted. I tried a lot to use asp:Repeater and XSLT togather to format my feeds but I found no way to do that. At last I came back to XML control in ASP.NET and did following: Made a small parser class to transform my SqlDataReader to XmlDocument object Used Xml Control to combine XmlDocument and XSLT to transform the result...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, I have found this very useful snippet from asp.net forums You can format your Datatime object in .Net using following formats. DateTime.ToString() Patterns All the patterns: 0 MM/dd/yyyy 08/22/2006 1 dddd, dd MMMM yyyy Tuesday, 22 August 2006 2 dddd, dd MMMM yyyy HH:mm Tuesday, 22 August 2006 06:30 3 dddd, dd MMMM yyyy hh:mm tt Tuesday, 22 August 2006 06:30 AM 4 dddd, dd MMMM yyyy H:mm Tuesday, 22 August 2006 6:30 5 dddd, dd MMMM yyyy h:mm tt Tuesday, 22 August 2006 6:30 AM 6 dddd, dd MMMM yyyy...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, I started proper programming with Java in 2001 and since then I was knew that Java is a language that has "Pass by value" for primitives and "Pass by reference" for the non-primitive types. I left programming in Java in 2004 and started using C#. Since last few months again I started part time development in J2ME and last week I came across a very interesting thing. I was sending a byte array as a parameter to a method and expecting to get the same parameter as an initialized array but I don't...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, Today I had to find default browser in my client's system and open my page in it. You can find your default Browser Path from HKEY_CLASSES_ROOT\http\shel... and Open your page in the value stored against command using System.Diagnostics.Process.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, I was looking a simple way to be able to encrypt and decrypt my Connection Strings. I searched in the net but all i could find was Encrypting and decrypting Connection Strings using aspnet_regiis utility or by creating custom Encryption and decryption classes. Finally I could a very good way to do encryption and decryption using .NET class library. You can find the video of the tutorial in asp.net , Videos section (Video is called ASP.NET Tips and Tricks) or read it HERE . I am placing a sample...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hi, After spending few years in IT I learned that we can find a lot of coders to code in projects but what we cannot find is GOOD CODER. By Good coder I mean someone who has good understanding of the problem in hand and can file a solution for it based on the best possible way. Further who can code based on standards and keep in mind best practices. I have been using FXCop for a long time and I love using it in my projects. Yesterday I came to see something new (for me) called StyleCop. I liked the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Full General Programming Archive