Archive for the ‘.Net’ Category

Bind Windows Default Countries to a DropDownList in ASP.NET

This item was filled under [ .Net, Microsoft ]

How to get list of all countries and bind to a dropdown list in ASP.NET
Create an ASP.NET application and add a DropDownList to the page something like this.<asp:DropDownList ID=”ddlCountry” runat=”server”></asp:DropDownList>
Now call this GetCountryList method on your page load that will bind and display countries in the DropDownList.
public List GetCountryList()
{
List list = new [...]

Continue reading...

Structure Hierarchy of the SharePoint 2010

This item was filled under [ .Net, Microsoft ]

Farm – The base of the SharePoint tree applications, servers, the installation itself.
–> Web Applications – Central Administration is a web app. Each web application has a web.config like any other ASP.net web app, includes databases, dlls, code, virtual directories, a content database, etc. – content databases are managed [...]

Continue reading...

How to Debug WCF Services in Silverlight

This item was filled under [ .Net, Microsoft ]

check out this new SilverlightTV video, going over some of the common errors you may encounter when using WCF services from Silverlight:

Silverlight TV 46: What’s Wrong with my WCF Service?
Direct link

Continue reading...

Tagged with: [ , , ]

Advanced Encryption in Silverlight and .NET Applications

This item was filled under [ .Net, Microsoft ]

AES encryption is implemented in both Silverlight and .NET run times, using exact same set of classes, primary one being AesManaged class.
Here is a little code that you can be used to encrypt. Password will be used as encryption key and input is a string that you want to encrypt.
Remember encrypted string will be decrypted [...]

Continue reading...

WebMatrix Introduction

This item was filled under [ .Net, Adobe, Microsoft, flex ]

WebMatrix is a free lightweight (around 15MB) tool with Web Server (IIS Development Express), Database (SQL Server Compact) and Asp.NET for web development.
WebMatrix can connect many open source web applications like DotNetNuke, WordPress, Joomla etc… Web Matrix also contains template for the popular application and application type by that selection WebMatrix automatically download source form [...]

Continue reading...

 Page 1 of 2  1  2 »