Wednesday, February 9, 2011

State Machine Workflows

http://www.codeproject.com/KB/WF/JumpStartMF.aspx

http://msdn.microsoft.com/en-us/library/ms734766(v=VS.90).aspx

http://visualstudiogallery.msdn.microsoft.com/en-us/7fe6f504-a58d-456e-8f55-e64bddc81a41

SharePoint Power Pack for UI Developers

Authentications


20 steps to get together Windows Authentication, Silverlight and WCF service



LDAP

http://blog.algoworks.com/archives/tag/openldap-and-ldapsoft-admin-tools 

NTLM
http://en.wikipedia.org/wiki/NTLM

Kerberos
http://en.wikipedia.org/wiki/Kerberos_(protocol)

Sunday, January 2, 2011

Visual Studio Gallery


Visual Studio Learning Pack


http://visualstudiogallery.msdn.microsoft.com/en-us/2A06FB8C-C2B1-417B-9F7D-57254D74905E

WCF Load Test


http://visualstudiogallery.msdn.microsoft.com/en-us/A86305F1-D179-4D3D-800B-A545535CAB6E



Visual WebGui Web Applications Development Tools


http://visualstudiogallery.msdn.microsoft.com/en-us/c271042d-3abe-403c-a371-6c99fbac5b7d



Image Insertion


http://visualstudiogallery.msdn.microsoft.com/en-us/793d16d0-235a-439a-91df-4ce7c721df12



MVVM Training

http://visualstudiogallery.msdn.microsoft.com/en-us/3ab5f02f-0c54-453c-b437-8e8d57eb9942

Productivity Power Tools

http://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef

Multi Column Collapsible Tree List - Silverlight

http://visualstudiogallery.msdn.microsoft.com/en-us/86738cc3-ed04-4283-9134-eb9131733d0a
Favorites Menu for Visual Studio
http://visualstudiogallery.msdn.microsoft.com/en-us/00F3B972-CB54-47F2-AC56-B2F48C77A74D


Xaml Styler


http://visualstudiogallery.msdn.microsoft.com/en-us/d6634d0e-38fb-48b6-829f-dadbc5c2fb62

Wednesday, December 1, 2010

Using Silverlight Init parameters to get the WCF Service url dynamically

http://www.c-sharpcorner.com/UploadFile/dpatra/InitParamsInSilverlight06302009024633AM/InitParamsInSilverlight.aspx

http://msdn.microsoft.com/en-us/library/cc189004(v=VS.95).aspx


Step 1 :
Configure the WCF Service URL at web.config file



   1:  <configuration>
   2:    <appSettings>
   3:      <add key="myWCFServiceUrl" value="http://SomeServer:55460/myWCFService.svc" />
   4:    </appSettings>
   5:  </configuration>

Step 2 :
Supply the configured URL as a initparameters Silverlight 



   1:  <form id="form1" runat="server" style="height:100%">
   2:      <div id="silverlightControlHost">
   3:          <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
   4:                <param name="InitParams" value='myWCFServiceUrlParameter= <% =ConfigurationManager.AppSettings["myWCFServiceUrl"].ToString()%> '/>
   5:            <param name="source" value="ClientBin/mySilverlight.xap"/>
   6:                <param name="onError" value="onSilverlightError" />
   7:                <param name="background" value="white" />
   8:                <param name="minRuntimeVersion" value="4.0.50826.0" />
   9:                <param name="autoUpgrade" value="true" />
  10:                <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
  11:                     <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
  12:                </a>
  13:            </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
  14:      </form>

Step 3 :
Modify the app.xaml.cs file to read the init parameters



   1:  public static string myWCFServiceURL = "";
   2:          public App()
   3:          {
   4:              this.Startup += this.Application_Startup;
   5:              this.Exit += this.Application_Exit;
   6:              this.UnhandledException += this.Application_UnhandledException;
   7:   
   8:              InitializeComponent();
   9:          }
  10:   
  11:          private void Application_Startup(object sender, StartupEventArgs e)
  12:          {
  13:              if (e.InitParams.ContainsKey("myWCFServiceUrlParameter") && !string.IsNullOrEmpty(e.InitParams["myWCFServiceUrlParameter"]))
  14:                  myWCFServiceURL = e.InitParams["myWCFServiceUrlParameter"];
  15:              this.RootVisual = new MainPage();
  16:          }

Step 4 :
use the URL during the WCF Client creation in Silverlight



   1:  myWCFServiceClient = new myWCFServiceClient(new BasicHttpBinding(), new EndpointAddress(App.myWCFServiceURL));