Tuesday, March 14, 2006

ASP.NET 2.0 Unhandled Exception Issues

http://www.eggheadcafe.com/articles/20060305.asp

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

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!!

Wednesday, January 25, 2006

HttpHandler and HttpModule

http://www.theserverside.net/articles/showarticle.tss?id=IIS_ASP

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

One Stop Shop of Connection Strings !!

http://www.connectionstrings.com/

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....

Friday, January 13, 2006

Excellent E-Books

Here i got good collection of e-books....

http://www.maththinking.com/boat/booksIndex.html

Sunday, November 27, 2005

H1B Masala !!!

http://www.nostops.org

http://arunvakil4usvisas.com

Thursday, November 24, 2005

Good C# Questions

http://www.vbusers.com/codecsharp/codeget.asp?ThreadID=39&PostID=1&NumReplies=0

Friday, November 18, 2005

ASP.NET Questions - Part2

http://www.certfaq.com/employment/e011.html

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


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 :





// or you can write your pages names instead of folder name








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

Monday, November 14, 2005

Improving Web Service Performance : CheckList

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetcheck09.asp

All about Installers - Customizing Windows and Web setup projects

http://www.codeproject.com/dotnet/CustomizingInstallers.asp

Wednesday, October 05, 2005

String Vs String Builder

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/vbnstrcatn.asp

Tuesday, September 20, 2005

ASP.NET Security Model - Architecture View and More !!

http://www.15seconds.com/issue/030926.htm

Microsoft .NET Framework FAQ

FAQ's on .NET Framework from Microsoft !!

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dndotnet/html/faq111700.asp

Keep watching this blog !!!

Monday, July 18, 2005

String.Contains + Some Other String Improvements in VS2005

There's some things just so glaringly obvious, so innately presupposed that you just assume it's there and it's an impossible task to convince your brain otherwise.

For me, this is string.Contains. For years I've typed "name.Conta…" only to stop and realize that it's not there. I begrudgingly type in "name.IndexOf("sdfsd")>-1" instead. The next time I do the same. In fact I've been using .Net since it was in early beta and yet I still haven't come to terms with the fact string.Contains is missing.

Then today, working in VS 2005, I once again accidentally type it in - and to my disbelief it's actually there! Very cool.

Couple of other things I noticed:

1. String.Split now accepts strings. That means you can split a string like “bob and harry and mary and jane“ on “and“ and you'll get just the people names.

2. String.NullOrEmpty is a new static method that returns true if the string is null or empty (““). All those times I've used code like “if (name==null || name==““) “...

That's what I call progress.