Skip to main content

Posts

Showing posts from July, 2006

Refactor tool in visual studio 2005

Re factor tool in the visual studio 2005

Visual studion provides great tool for modifying or make it simple. The Refactor tool
provides great functionality like changing parameters sequence or rename parameters,
record parameters,extract methods.

All this things can be done within the minutes. For c# go to in your code right
click and you can choose one of option that you want to do with your code.

Refractor for Visual Basic 2005:
=======================
Refactor! for Visual Basic 2005 is a free plug-in from Developer Express Inc.,
in partnership with Microsoft, that enables Visual Basic developers to simplify
and re-structure source code inside of Visual Studio 2005, making it easier to
read and less costly to maintain. Refactor! supports more than 15 individual
refactoring features, including operations like Reorder Parameters, Extract Method,
Encapsulate Field and Create Overload.

Download from this url:
http://msdn.microsoft.com/vbasic/downloads/tools/refactor/

For more details please visit:
http:…

Custom Membership and Role Provider In ASP.NET

Put this into web.config file for removing default connection string

<connectionStrings>

<remove name="LocalSqlServer"/>

<add name="xyzConnectionString"

connectionString="Data Source=vsdotnet;

Initial Catalog=xyz;User Id=sa;Password=sa;"

providerName="System.Data.SqlClient"/>

</connectionStrings>

Put this in web.config file for membership providers.
<membership>

<providers>

<remove name="AspNetSqlMembershipProvider"/>

<add connectionStringName="xyzConnectionString"

enablePasswordRetrieval="false"

enablePasswordReset="true"

requiresQuestionAndAnswer="true"

applicationName="/"

requiresUniqueEmail="false"

passwordFormat="Hashed"

maxInvalidPasswordAttempts="4"

minRequiredPasswordLength="7"

minRequiredNonalphanumericCharacters="1"

passwordAttemptWindow="10"

passwordStrengthRegula…

Ajax,Microsoft, Atlas Proejct,ASP.NET

AJAX = Asynchronous JavaScript And XML

This name has made boom in web application development.Every days it is getting more and more popular.Ajax is a not a new language or standard but it is a simply a technique to use existing standard and developmenttechnology in to better way for creating better,Faster and more interactive and reach user interface web applications like desktop application.

It technique for fetching the server data without page submit or refreshing the pages. It uses javascript,XML and browsers http request for that.

The Big Company like Google and Microsoft already moving towards that with Google Suggest,Google Earth and Microsoft's live.com and live mail beta.

AJAX and ASP.NET:
So, Microsoft has also provided a Ajaxframework called "Atlas" to develop ajax enabled application with the Microsoft ASP.NET 2.0 plate form. It provides easy to develop Ajaxfunctionlity with out writing such heavy java script and XML codes.You can make your existing application A…

what is serialization -deserialization

Serialization is the process of storing class object into the some other
state may be a file or file or something like else.

Object Serialization is the process of reducing the objects instance into
a format that can either be stored to disk or transported over a Network.

Later time the Object will changed into its original state with the
re server process of deserialization.

Microsoft.NET support both serialization and deserialization.

Happy Programming..

how to add web servicein C# application

You can easily add web service to the application by add reference in C# In the solution explorer right click the project and click add reference and select add web reference then type the URL of the web service that you would like to add to the web application for example: http://localhost/Service1/Service1.asmx now you just need to refer this service like this: localhost.HelloWebServiceinCMyService = new localhost.HelloWebServiceinC(); and you can use all the web methods that are defined in the webservice through your application