Tag Archives: .NET

What developers need to know today

That is, what does a developer who has been working with .NET for the last few years need to know in order to get past an interview. (Recently I have been on the hiring side in interviews) Basic skills If in an interview you rate yourself a 7 out of 10 in your knowledge of c#. I would… Read More »

Encrypting an ASP.NET web application connection strings by directory

To encrypt an ASP.NET application’s connection strings?by the path of the application, navigate to the .NET framework folder ?%windows%\Microsoft.NET\Framework\versionNumber Open the command prompt as administrator and point to the .Net directory and run the command ASPNET_REGIIS -pef “connectionStrings” “C:\Inetpub\<Application Folder>” (Point to the directory not the web.config file) If successful the following should be displayed.    

ASP.NET Web API – Returning javascript friendly (camelcase) json in two lines of code

Naming conventions of properties defer slightly in .NET and JavaScript. .NET uses?pascal-case and JavaScript uses camel-case. When developing a .NET API all the public properties should use the naming convention pascal-case. However if the service is consumed as an API with a JavaScript client then the json returned should be camel-case. Now you could go and add the… Read More »