In WebConfig First Set The Connection String. ====================================== <?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <add name="InterviewConnectionString" connectionString="Data Source=SATYABRATA;Initial Catalog=Interview;Persist Security Info=True;User ID=satya;Password=satya@215;MultipleActiveResultSets=True;Application Name=EntityFramework" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> </configuration> ====================================== Design Page in Source FIle ====================================== ...
How to post image in blob using Windows Azure. First Set Connection String in Web Config File ============================ <!--Blob Connnection--> <add key="StorageConnectionString" value="DefaultEndpointsProtocol=https;AccountName=satyastorageaccount;AccountKey=SrVl+wKtyrty64564564646464545vPeFthtrhrt7vQXdxjr1Fp6e67tutut==" /> <!--End BlobConnection--> ================================= using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Telerik.Web.UI; using Telerik.Web.UI.ImageEditor; namespace testassss.Admin { public partial class CompanyBranding : System.Web.UI.Page { ...
GenerateCaptcha.aspx <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="GenerateCaptcha.aspx.cs" Inherits ="GenerateCaptcha" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns ="http://www.w3.org/1999/xhtml"> < head runat ="server"> < title ></ title > </ head > < body > < form id ="form1" runat ="server"> < div > </ div > </ form > </ body > </ html > GenerateCaptcha.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; usin...
Very nice .....Post,Thanks for sharing this info
ReplyDeleteDot Net Online Training