Wednesday, October 10, 2007
Wednesday, July 25, 2007
Silverlight in Action....
Silverlight Adventures
http://west-wind.com/weblog/posts/65291.aspx
http://msdn2.microsoft.com/en-us/silverlight/default.aspx
http://channel9.msdn.com/showpost.aspx?postid=304508
http://download.microsoft.com/download/f/2/e/f2ecc2ad-c498-4538-8a2c-15eb157c00a7/SL_Map_FinalNET.png
http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx
Have Fun.
http://west-wind.com/weblog/posts/65291.aspx
http://msdn2.microsoft.com/en-us/silverlight/default.aspx
http://channel9.msdn.com/showpost.aspx?postid=304508
http://download.microsoft.com/download/f/2/e/f2ecc2ad-c498-4538-8a2c-15eb157c00a7/SL_Map_FinalNET.png
http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx
Have Fun.
Friday, July 14, 2006
SOA Myths Explained !!
http://www.dotnetheaven.com/Uploadfile/dmagid/DebunkingMythsofSOA07042006003220AM/DebunkingMythsofSOA.aspx?ArticleID=e454a002-c6e9-4e1d-8e60-db6926b03424
Welcome To Mobile computing @.NET CF
http://www.c-sharpcorner.com/UploadFile/anandkrao/NETCFrameworkandSQLCE07262005031150AM/NETCFrameworkandSQLCE.aspx?ArticleID=f33d8531-bf4d-4589-9ac8-ce26f0e9566a
http://www.csharpcorner.com/uploadfile/anandkrao/netcf_sqlce-part208112005082121am/netcf_sqlce-part2.aspx?articleid=2a71c7e6-de11-4144-a5f1-eb65a339ea22
http://blogs.msdn.com/mikezintel/archive/2004/12/08/278153.aspx
Best Practices of Compact Framework
http://www.c-sharpcorner.com/UploadFile/anandkrao/CompactFrameworkBestPractices05172006002748AM/CompactFrameworkBestPractices.aspx?ArticleID=88dd9ddf-e3b1-4c41-acad-008f84202b6c
http://www.csharpcorner.com/uploadfile/anandkrao/netcf_sqlce-part208112005082121am/netcf_sqlce-part2.aspx?articleid=2a71c7e6-de11-4144-a5f1-eb65a339ea22
http://blogs.msdn.com/mikezintel/archive/2004/12/08/278153.aspx
Best Practices of Compact Framework
http://www.c-sharpcorner.com/UploadFile/anandkrao/CompactFrameworkBestPractices05172006002748AM/CompactFrameworkBestPractices.aspx?ArticleID=88dd9ddf-e3b1-4c41-acad-008f84202b6c
Friday, June 09, 2006
All About Character Encoding - Base64 Encoding
http://dotnet.sys-con.com/read/192527.htm
Instead of using a StringBuilder, use Convert.ToBase64String(result). That will do 6 bits per character instead of 4 (so the output string will be shorter).
You should also use MD5CryptoServiceProvider.Create() rather than ‘new’ because it is faster. Or just MD5.Create() for short.
byte[] input = Encoding.UTF8.GetBytes(inputString);
byte[] output = MD5.Create().ComputeHash(input);
return Convert.ToBase64String(output);
Something like this would be sufficient (and faster). If you want to support Unicode, just type Unicode instead of UTF8.
If you want even faster, keep the MD5 in a static variable so that it only has to be created once.
Instead of using a StringBuilder, use Convert.ToBase64String(result). That will do 6 bits per character instead of 4 (so the output string will be shorter).
You should also use MD5CryptoServiceProvider.Create() rather than ‘new’ because it is faster. Or just MD5.Create() for short.
byte[] input = Encoding.UTF8.GetBytes(inputString);
byte[] output = MD5.Create().ComputeHash(input);
return Convert.ToBase64String(output);
Something like this would be sufficient (and faster). If you want to support Unicode, just type Unicode instead of UTF8.
If you want even faster, keep the MD5 in a static variable so that it only has to be created once.
Tuesday, March 14, 2006
Friday, March 03, 2006
Winning Forms - Practical Tips For Boosting The Performance Of Windows Forms Apps
Here u go...Good Tips and Techniques for improving performance of Win Form Apps
http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/default.aspx#Tips
http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/default.aspx#Tips
Tuesday, January 31, 2006
ASP.NET 2.0 Tutorials - No Need of Google!!
Excellent and daily use code grocerry shop for ASP.NET 2.0....
http://www.asp.net/QuickStart/aspnet/default.aspx
Happy Programming!!
http://www.asp.net/QuickStart/aspnet/default.aspx
Happy Programming!!
Wednesday, January 25, 2006
Thursday, January 19, 2006
Performance Considerations for Run-Time Technologies in the .NET Framework
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetperftechs.asp
Performance Tips and Tricks in .NET Applications
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetperftips.asp
Rescue to all kind of Debugging in .NET !!
http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc
Wednesday, January 18, 2006
Top Intv Ques: Nth Highest Salary of Emp !!
I m always having trouble to build this query but now i got it forever!!!
Say "Emp" table structure is:
EmpID Salary
1 100
2 500
3 200
4 400
Say we have to find 2nd highly paid employee...Here we go.....::
select Salary from Emp A where 1 = (select count(Salary) from Employee B where B.Salary > A.Salary)
Note: "1" in above query is Nth Max - 1 or in other words if we have to find say 3rd highest see how many are there above three ?? Obviously two sp put 2 na intead of 1....(here we are looking for 2nd highest thats why i have put 1...Samje...)
Simple and Perfect....Kya baat hai!!! Wah Wah....
Say "Emp" table structure is:
EmpID Salary
1 100
2 500
3 200
4 400
Say we have to find 2nd highly paid employee...Here we go.....::
select Salary from Emp A where 1 = (select count(Salary) from Employee B where B.Salary > A.Salary)
Note: "1" in above query is Nth Max - 1 or in other words if we have to find say 3rd highest see how many are there above three ?? Obviously two sp put 2 na intead of 1....(here we are looking for 2nd highest thats why i have put 1...Samje...)
Simple and Perfect....Kya baat hai!!! Wah Wah....
Friday, January 13, 2006
Excellent E-Books
Here i got good collection of e-books....
http://www.maththinking.com/boat/booksIndex.html
http://www.maththinking.com/boat/booksIndex.html
Sunday, November 27, 2005
Thursday, November 24, 2005
Friday, November 18, 2005
ASP.NET Questions
1) How security is implemented in asp.net
ASP.NET implement security in three ways
a- Forms-based security
in this case you set the IIS authentication system to anonymous access to enable the ASP.NET to validate authentication itself by checking if the user name & Password is equivalent to the same info which is stored anyhow (XML, Database, ...)
b- Windows-based security
according to this option any user access the site must have a registered windows account and a dedicated permissions
Passport-based security
this is a centric authentication service in which one login could auto authenticate the user for many sites where is no need to store the user names & passwords into each site
all what you have to do is to creat a folder then move your required files into it then configur the web.config as follows :
// or you can write your pages names instead of folder name
it is the auto generated default view of the table in the dataset , when dealing with any table in a dataset, .NET makes a view of that table to can communicate with it so it is the default one
they all do the same functions except the stored functions can return a table and can be implemented into a select statement like " select myFunction(someParam)"
You can use session variables to store this a.aspx textBoxs Like session ["myVar"]=TextBox1.Txt
the datagrid is designed to show a table-like data to the user but the datalist is designed to show a row-like data
ASP.NET implement security in three ways
a- Forms-based security
in this case you set the IIS authentication system to anonymous access to enable the ASP.NET to validate authentication itself by checking if the user name & Password is equivalent to the same info which is stored anyhow (XML, Database, ...)
b- Windows-based security
according to this option any user access the site must have a registered windows account and a dedicated permissions
Passport-based security
this is a centric authentication service in which one login could auto authenticate the user for many sites where is no need to store the user names & passwords into each site
2) In my website for eg. it has around 100 aspx. In that I want 20 aspx files should be available to the users only if they are logged in. How can I achieve this with web.config file.
all what you have to do is to creat a folder then move your required files into it then configur the web.config as follows :
What do you meant by default view
it is the auto generated default view of the table in the dataset , when dealing with any table in a dataset, .NET makes a view of that table to can communicate with it so it is the default one
Difference between stored procedure and stored functions
they all do the same functions except the stored functions can return a table and can be implemented into a select statement like " select myFunction(someParam)"
5) I have a file called a.aspx which has some textboxes. I want to post the values to b.aspx without using response.redirect. How can I do this.
You can use session variables to store this a.aspx textBoxs Like session ["myVar"]=TextBox1.Txt
Different between datagrid and datalist
the datagrid is designed to show a table-like data to the user but the datalist is designed to show a row-like data
Subscribe to:
Comments (Atom)