Monthly Archives: July 2009

Code generation using T4 Templates

In the current project I am working we have to write lot of Business Entity classes, all of them got same structure of code, like lot of GET / SET code for Properties, and all these classes implemented by INotifyPropertyChanged … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Visual Studio | Tagged , , , , , | Leave a comment

Implementing Windows authentication in ASP.NET on IIS 7

For implementing windows authentication in IIS 7 (On Windows Vista), you need to check whether the Windows authentication installed or not. You can do this either using Programs and Features > Turn Windows features On or Off. And select the … Continue reading

Posted in .Net, .Net 3.0 / 3.5, ASP.Net, Visual Studio | Tagged , , , | Leave a comment

Uploading Files using Webservice

Webservice code – The method recevies a byte array from the webservice client, creates a memory stream and send it to a specific mail address, you can modify this in way so that it can save into webserver also. Client … Continue reading

Posted in .Net, .Net 3.0 / 3.5, ASP.Net, Visual Studio, Windows Forms | Leave a comment

Some best practices for C# developers

Here is some best practices for C# developers. Check the C# source files with StyleCop – (http://code.msdn.microsoft.com/sourceanalysis) – StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Visual Studio, Windows Forms | Tagged , , , , , , | Leave a comment

Unit Testing Windows Forms using White and nUnit

Few days back I attended a session on TDD with ASP.NET MVC 1.0 on K-MUG Cochin User group meeting, from Shiju Varghese, the session was excellent one. Currently I was working on a Windows application, so after the session I … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Windows Forms | Tagged , , , , , , | 3 Comments