Wednesday, January 19, 2011

How To Add Paypal Donate Button In Website

Adding a Paypal donation button to your blog will give your loyal readers a chance to support(encourage) you by donating a few bucks.
If you don't have a paypal account yet,.. you can get a Free Paypal account here.

so,let's see how to put a Paypal donation button in your blog...

1.First,Log in to your Paypal account.
First,Log in to your Paypal accoun
2.Click on the 'Merchant Services' tab (see at the top of the page).

Click on the 'Merchant Services' tab (see at the top of the page)
3.Scroll down the window and you will see an option "Donations" in the right sidebar.Click on it!
Scroll down the window and you will see an option

4.Now,you will see some options like Donation name/service ,donation id,etc etc...
The first field (Donation name/service) is the only thing that is required and all the remaining fields are optional.
Enter that first field,choose a button style,scroll down the window and click on "Create a button Now"
click on

5.Now,you will see some html code... Copy it and sign in to your blogger dashboard »» Click on the layout »» Add a Page element »» html/javascript »» and paste that html code and SAVE THE CHANGES.

Here is how the button will look in your sidebar



Monday, January 17, 2011

How to configure dbmail in sql server 2005 and 2008


Step 1) Create Profile and Account:
You need to create a profile and account using the Configure Database Mail Wizard which can be accessed from the 
Configure Database Mail context menu of the Database Mail node in Management Node. 
This wizard is used to manage accounts, profiles, and Database Mail global settings which are shown below:





Step 3) Send Email:
After all configurations are done, we are now ready to send an email. To send mail,
we need to execute a stored procedure sp_send_dbmail and provide the required parameters as shown below:



Saturday, January 1, 2011

Asp.Net4u: IIS and .NET Questions

Asp.Net4u: IIS and .NET Questions

IIS and .NET Questions


General IIS related questions
  • How do you isolate and troubleshoot an ASP and / or ASP.NET application?
  • What is your idea of locking down a server?
  • How do you feel about having developers or anyone else making changes directly in production?  Aka how do you normally handle change management.
  • What perfmon counters do you find useful in troubleshooting an IIS or related problem.
  • Do you have experience in working with web-farms, load-balancing environments?
  • What is your ideal way of handling content.  Remote Storage / NAS (network attached storage) vs. local content and replication.  If you use local content and replication what tools do you to use?
  • Are you familiar with DFS?
  • What debugging tools do you use for IIS?
  • What / Where would you put global .NET settings.  How would you lock them down?
  • Do you have any experience with SSL certificates?
  • Do you have experience with machines with multiple IP's and how to handle several sites / applications on a machine.
  • What is your preference of handling machine accounts?  Do you like local vs. Active Directory based accounts.
  • Do you have experience with working in an AD environment that supports IIS.
  • Do you have experience with NLB (network load balancing) that comes with IIS.
  • How do you monitor the applications / sites to ensure the uptime is appropriate.  This might apply more to a monitoring environment, but it is good to know what to monitor.
  • Are you familiar with compression and the benefits.
  • Do you know what MIME types are for?
  • Do you know how to list all running applications on a server to determine which application pools are owned by what sites. (IISAPP)
  • Are you familiar with IISState, IIS Debug Diag. SSL Diag, SMTPDiag in the resource kit.
  • What tools do you use or have experience in load-testing an application.
  • What are some of the tools provided by MS.  WCAT, TinyGet, WAST.
  • Do you know how to configure host-headers and how they related to DNS.
  • What is your backup and recovery strategy for IIS
  • How would you handle migrating to another box?
  • How do you handle changes in IIS, scripting or manual changes?
  • Are you familiar with scripting languages such as VBScript, JScript, Powershell.
  • Are you familiar with IISCfg and related scripts such as adsutil
  • Do you have experience supporting multiple environments of IIS (different domains, dev / test /integration / production)
  • Are you familiar with ways to connect to remote databases such as db2, oracle, sql server
  • Do you know the differences between anonymous, integrated, basic, digest authentication.
  • What is your preferred method of publishing content?  FTP? FrontPage? WebDAV? Folder copy? Publish to a staging machine and replicate to the content source either on a nas or individual nodes.
  • Are you familiar with the other services in SMTP, FTP?
  • Do you know how to configure a smarthost?
  • Does the built-in FTP service support host-headers?
  • Do you know the benefits of using a COM+ package vs. Regsvr32
  • What certain local group is necessary if it is configured as a application pool user.
  • Do you know how to check a COM+ component to ensure it will not leak memory.
.NET 2.0
  • Can you run the 1.1 and 2.0 on the same box?  What are the limitations.
  • Can you explain what the '/bin'  folder is used for.
  • Do you know what user instancing is.
  • Do you know the difference between precompiled applications and publishing the source code.
  • Do you have any experience with partial trust or CAS (code access security)
  • What types of things cause an appdomain or application pool recycle.
  • What are the new folders in .NET 2.0 and what are they used for.
  • How / why does the machine key need to be the same across all machines in a web-farm.
IIS7
  • What makes the IUSR account unique in IIS7 vs. previous versions.
  • What are some of the new ways of troubleshooting, Logging in IIS7
  • What are the major benefits of IIS7?  (FREB, Integrated Pipeline, IUSR same on all w2k8 boxes, Shared configuration, Modular architecture, configuration changes