tag:blogger.com,1999:blog-1936440866969590872024-02-08T09:33:49.834-08:00Microsoft TechnologyMudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-193644086696959087.post-85420055287366549052013-05-24T06:05:00.001-07:002013-05-24T06:07:04.549-07:00Prism<div dir="ltr" style="text-align: left;" trbidi="on">
Prism provides guidance to develop applications with
<br />
more easily design<br />
and build rich, flexible, <br />
and easy-to-maintain <br />
<br />
Supports Windows Presentation Foundation (WPF) desktop applications, Silverlight Rich Internet Applications (RIAs), and Windows Phone 7 applications.
<br />
<br />
Using design patterns that embody important architectural design principles, such as separation of concerns and loose coupling.<br />
<br />
Prism helps you to design and build applications using loosely coupled components that can evolve independently but that can be easily and seamlessly integrated into the overall application.
<br />
<br />
<a href="https://docs.google.com/file/d/0B9fzFI_8fsuYNk04dkp6SjZmUW8/edit?usp=sharing" target="_blank">Please click here to download the presentation attached and read to know more about Prism in details</a></div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-34557905055095011372013-02-12T07:31:00.001-08:002013-02-12T07:31:10.801-08:00WCF REST with Request Header<div dir="ltr" style="text-align: left;" trbidi="on">
This article demonstrates how to make a call from client to a REST based service with Header in Request<br />
<br />
var binding = new WebHttpBinding();<br /> binding.Security.Mode = WebHttpSecurityMode.Transport;<br /> var cf = new WebChannelFactory<SERVICE_TYPE>(binding, new Uri(URL));<br /> {<br /> Console.WriteLine("{0}:Creating Channel", System.DateTime.Now.ToString("hh:mm:ss"));<br /> var proxy = cf.CreateChannel();<br /> <br /> using (new OperationContextScope((IClientChannel)proxy))<br /> {<br /> WebOperationContext.Current.OutgoingRequest.Headers.Add("Sample", "SamValue");<br /> <br /> Console.WriteLine("{0}:Calling Method", System.DateTime.Now.ToString("hh:mm:ss"));<br /> proxy.Method(Entity);<br /> Console.WriteLine("{0}:Calling Completed in {1} Seconds", System.DateTime.Now.ToString("hh:mm:ss"), System.DateTime.Now.Subtract(le).TotalSeconds);<br /> }<br /><br /> }<br /> cf.Close();<br /> Console.ReadLine();</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-36166039785424794802013-02-12T07:28:00.003-08:002013-02-12T07:28:56.801-08:00WCF REST<div dir="ltr" style="text-align: left;" trbidi="on">
This article demonstrates how to make a call from client to a REST based service<br />
<br />
With Https<br />
<br />
var binding = new WebHttpBinding();<br /> binding.Security.Mode = WebHttpSecurityMode.Transport;<br /> var cf = new WebChannelFactory<SERVICE_TYPE>(binding, new Uri(URL));<br /> {<br /> Console.WriteLine("{0}:Creating Channel", System.DateTime.Now.ToString("hh:mm:ss"));<br /> var proxy = cf.CreateChannel();<br />
Console.WriteLine("{0}:Calling Method", System.DateTime.Now.ToString("hh:mm:ss"));<br />
proxy.Method(Entity);<br /> Console.WriteLine("{0}:Calling Completed in {1} Seconds", System.DateTime.Now.ToString("hh:mm:ss"), System.DateTime.Now.Subtract(le).TotalSeconds);<br /> Console.ReadLine();<br /> }<br /> cf.Close();</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-8297747652915202452013-01-30T09:03:00.001-08:002014-04-05T09:52:56.371-07:00ASP.Net Web Hosting and Silverlight Web Hosting<div>
<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://affiliate.godaddy.com/redirect/AA2D1F9CC7AB123398A6F0B8CD899BBF549F50D00B1DBB6FD1CCF6732A50BC0489E06B742D51C94736B2AB8D746F907710C009D63F8396B37236DA1E5D131AE7" rel="nofollow" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" target="_blank"><img alt="50% off Hosting from GoDaddy." border="0" src="http://affiliate.godaddy.com/ads/AA2D1F9CC7AB123398A6F0B8CD899BBF549F50D00B1DBB6FD1CCF6732A50BC0489E06B742D51C94736B2AB8D746F907710C009D63F8396B37236DA1E5D131AE7" height="72" width="640" /></a></div>
<div>
<a href="http://www.anrdoezrs.net/click-7402260-10564936" target="_top">
<img src="http://www.lduhtrp.net/image-7402260-10564936" width="300" height="250" alt="www.1and1.com" border="0"/></a>
</div>
</div>Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-76643537944360191082013-01-29T06:34:00.000-08:002013-01-29T06:34:26.447-08:00Gmail like Dropdown<div dir="ltr" style="text-align: left;" trbidi="on">
Flexbox which looks like a dropdown and accepts JSON object <a href="http://www.fairwaytech.com/flexbox/flexbox-demos" target="_blank">Click here to see demo and download</a> </div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com1tag:blogger.com,1999:blog-193644086696959087.post-39877071434647871052013-01-29T06:33:00.001-08:002013-01-29T06:33:05.238-08:00JSON<div dir="ltr" style="text-align: left;" trbidi="on">
Very Easy to Serialize (C# Object to Json) and DeSerialize (Json to C# Object) <br />
please check following links <ul>
<li>http://blogs.microsoft.co.il/blogs/pini_dayan/archive/2009/03/12/convert-objects-to-json-in-c-using-javascriptserializer.aspx</li>
<li>http://www.codeproject.com/Articles/78928/Create-JSON-from-C-using-JSON-Library</li>
<li>http://www.codeproject.com/Articles/34730/JSON-and-C-using-Generics-and-Delegates</li>
<li>http://json.codeplex.com/</li>
<li>http://james.newtonking.com/pages/json-net.aspx</li>
</ul>
</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-14960825607507983092013-01-29T06:32:00.006-08:002013-01-29T06:32:48.605-08:00Jquery Html Editor<div dir="ltr" style="text-align: left;" trbidi="on">
Very Easy to Implement and Very lightweight <a href="http://premiumsoftware.net/cleditor/" target="_blank">Click here to see demo and download</a> </div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-4023514481561802362013-01-29T06:32:00.004-08:002013-01-29T06:32:33.638-08:00Jquery Checked Checkbox<div dir="ltr" style="text-align: left;" trbidi="on">
Using Jquery check whether checkbox is checked and how to get list of checked checkboxes. <br />
<ul>
<li> Method 1. $('#checkBox').attr('checked'); </li>
<li> Method 2. $('#edit-checkbox-id').is(':checked'); </li>
<li> Method 3 (list of checked checkboxes). <div>
$("input[@type=checkbox][@checked]").each( function() { // code } ); </div>
</li>
</ul>
</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-4123059901143048392013-01-29T06:32:00.001-08:002013-05-24T06:06:17.189-07:00Task Parallel Library<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
Use All the CPU's of the computer :)<br />
<br />
write a program which will execute the task on different Processors of the computer.<br />
<br />
All currently used machines and server has more than one processors so read the article about how take advantage of all the processors and have tasks running around more than one processor so that application perfomance boosts</div>
<div style="text-align: left;">
<br />
.net 4.0 has excellent Threading Machanism, Microsoft has done a excellent on this i dont think any other language would provide this much flexibility and easiness to create thread, Async programming and processing task parallel on multiple processors.</div>
<div style="text-align: left;">
Thanks to microsoft on this.</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<a href="http://tariqat.org/media/15103/task%20parallel%20library.pptx" target="_blank" title="Click here to download Presentation">Click here to download the presentation</a> </div>
</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0tag:blogger.com,1999:blog-193644086696959087.post-29580241805013268312013-01-29T06:31:00.000-08:002013-01-29T06:31:00.149-08:00Free Books on Microsoft.net, VS.net etc<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: small;"></span><br />
<span style="font-size: small;">We try to provide a recap every once in a while about our free ebooks because they’re some of our most popular posts. </span><br />
<span style="font-size: small;">Many of our free ebooks are offered in three formats - PDF, Mobi (Kindle) and epub.</span> <br />
<br />
From Microsoft Press.<br />
<br />
<br />
<a href="http://blogs.msdn.com/b/microsoft_press/archive/2012/05/04/free-ebooks-great-content-from-microsoft-press-that-won-t-cost-you-a-penny.aspx">http://blogs.msdn.com/b/microsoft_press/archive/2012/05/04/free-ebooks-great-content-from-microsoft-press-that-won-t-cost-you-a-penny.aspx</a><br />
</div>
Mudasir Khanhttp://www.blogger.com/profile/04535260137456852336noreply@blogger.com0