Blog Stats
  • Posts - 98
  • Articles - 0
  • Comments - 102
  • Trackbacks - 0

 

Introducing 14 new ASP.NET and Azure code samples released in April

A new release of Microsoft All-In-One Code Framework is available on April 16th. This blog introduces 14 ASP.NET and Azure code samples in the release. The rest new samples will be introduced next week.

Download address: http://1code.codeplex.com/releases/view/64551

Alternatively, you can download the code samples using Sample Browser v3. The new Sample Browser gives you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about new releases.

If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read this Microsoft News Center article http://www.microsoft.com/presspass/features/2011/jan11/01-13codeframework.mspx, or watch the introduction video on YouTube http://www.youtube.com/watch?v=cO5Li3APU58, or read the introduction on our homepage http://1code.codeplex.com/.

---------------------------------------

New Azure Code Samples

CSAzureWorkflowService4, VBAzureWorkflowService4

Downloads
CSAzureWorkflowService4: http://code.msdn.microsoft.com/CSAzureWorkflowService4-2519c571
VBAzureWorkflowService4: http://code.msdn.microsoft.com/VBAzureWorkflowService4-62a20440

This sample demonstrates how to run a WCF Workflow Service on Windows Azure. It uses Visual Studio 2010 and WF 4. While currently Windows Azure platform AppFabric does not contain a Workflow Service component, WCF Workflow Services can be run directly in a Windows Azure Web Role. By default, a Web Role runs under full trust, so it supports the workflow environment.

The workflow in this sample contains a single Receive activity. It compares the service operation's parameter's value with 20, and returns "You've entered a small value." or "You've entered a large value.". The client application invokes the Workflow Service twice, passing a value less than 20, and a value greater than 20.

---------------------------------------

New ASP.NET Code Samples

CSASPNETReverseAJAX, VBASPNETReverseAJAX

Downloads
CSASPNETReverseAJAX: http://code.msdn.microsoft.com/CSASPNETReverseAJAX-7a1f0c2b
VBASPNETReverseAJAX: http://code.msdn.microsoft.com/VBASPNETReverseAJAX-321a68b0

Reverse Ajax is also known as Comet Ajax, Ajax Push, Two-way-web and HTTP server push. This technique persists a HTTP request to allow the server push data to a browser, without requesting the server in an individual time. This sample shows how to use this technique in ASP.NET Ajax.

CSASPNETAutoLogin, VBASPNETAutoLogin

Downloads
CSASPNETAutoLogin: http://code.msdn.microsoft.com/CSASPNETAutoLogin-25cfae2b
VBASPNETAutoLogin: http://code.msdn.microsoft.com/VBASPNETAutoLogin-023c5ab4

The code sample demonstrates creating an ASP.NET web application that supports user login using HttpWebRequest Class without manually filling out username and password textboxes. In the code sample, the Login.aspx page implements the normal login, and the AutoLogin.aspx page implements the programmatic login.

VBASPNETInfiniteLoading

Download: http://code.msdn.microsoft.com/VBASPNETInfiniteLoading-10c3f379

Infinite scroll, has also been called autopagerize, unpaginate, endless pages. But essentially it is pre-fetching content from a subsequent page and adding it directly to the user’s current page. The code sample demonstrates loading a large number of data entries in an XML file. It support infinite scroll with the AJAX technology.

CSASPNETLimitDownloadSpeed, VBASPNETLimitDownloadSpeed

Downloads
CSASPNETLimitDownloadSpeed: http://code.msdn.microsoft.com/CSASPNETLimitDownloadSpeed-819f5d04
VBASPNETLimitDownloadSpeed: http://code.msdn.microsoft.com/VBASPNETLimitDownloadSpeed-fe1dc09a

This project illustrates how to limit the download speed via coding. If you have installed IIS 7.0 we strongly recommend you use the Bit Rate Throttling feature instead of what this code sample demos to limit the download speed. Please refer to http://www.iis.net/download/BitRateThrottling.

CSASPNETServerClock, VBASPNETServerClock

Downloads
CSASPNETServerClock: http://code.msdn.microsoft.com/CSASPNETServerClock-23c659d4
VBASPNETServerClock: http://code.msdn.microsoft.com/VBASPNETServerClock-aff6fbca

This project illustrates how to get the time of the server side and show it to the client page. Sometimes a website needs to show a unified clock on pages to all the visitors. However, if we use JavaScript to handle this target, the time will be different from each client. So we need the server to return the server time and refresh the clock per second via AJAX.

 

If you have any suggestions for the code samples, please email us: onecode@microsoft.com.


Feedback

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar Hello its really one of the nice technical post that you have posted hare.
onketing 7/25/2011 5:11 PM | Mary Clarking

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar I am really impressed with your recent blog post. I am going to bookmark your website for future references. 8/19/2011 4:19 AM | protecting inventions

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. 8/19/2011 4:20 AM | adoption doctor 

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar Thanks for a nice guide. The information is very essential and you presented it very clearly. I try to optimize my work as well as it is possible, that is why I follow all such posts. That is why thanks a lot for a nice explanation. 8/19/2011 4:22 AM | Buy Likes

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar Extraordinarily insightful cheers, It looks like your followers would likely want further writing of this nature continue the good hard work. 12/21/2011 8:28 PM | sjr group

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar It is indeed an honorable and noble cause to help in protecting our beautiful planet and making it more beautiful and preserved for coming generations. I admire your thoughts and ideas.
point of use water dispenser 12/30/2011 12:37 PM | leahrussi

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar Thanks for sharing this beautiful article with us. Keep posting such an interesting topics. pmp training course 12/30/2011 12:41 PM | alex

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar I am really having problems working with my ASP.NET, can anyone share the guide.
keyboard for the ipad
1/7/2012 8:05 PM | junies

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar It is just what I’ve looking for and excited to read all the posts. I am looking forward to another great article from you. online classes | asia teaching 1/9/2012 6:52 AM | mai

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar The best of luxurious city living combined with the joys of having natural views from your windows at a value that you will appreciate every day Ormidale investors have the opportunity to purchase beautifully finished twin & single 3 bedroom villas by the river, traditionally the most profitable investment.From your personal concierge to expert security patrol, the service, scenery and amenities will exceed all desires. With Metro Ormidale as your home, the possibilities are endless. 2/3/2012 8:21 PM | SJR builders

# colosseum

Gravatar The Colosseum situated in Rome is basically an amphitheater. It was built as an upgrading of the Circus Maximus where wild beast fights, mock naval battles and gladiatorial combats used to take place. Oval in form, the circus structure had a permanent central divider right.
2/7/2012 11:10 PM | sahil

# thanks

Gravatar The Colosseum situated in Rome is basically an amphitheater.
2/7/2012 11:13 PM | colosseum

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar create a thank-you card with my compacaany logo using MS Publisher 6/20/2012 8:50 PM | what is this

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar I have to say that I don't know where yu find time to blog all the time. I am lucky if I get a chance to write to my blog once a month. I really like your article. Have a happy 4th of July.
7/3/2012 9:06 PM | Men fashion

# re: Introducing 14 new ASP.NET and Azure code samples released in April

Gravatar I bought Expression Web Microsoft recently I made a website, go away, but then I decided to make an ASP.NET Web site, because the option I needed was that for ASP.NET sites so I did a when I saw it (for testing) on ​​my browser (Internet Explorer 7.0) He showed the script, instead of the page, so it was like a huge bouquet script when it should have been a normal web page .... I think it is due. ASP NET? Maybe I need to be connected with it or sumthin so ..... Please help! 7/13/2012 8:28 PM | pristiq coupons

# Thanks

Gravatar When you get to learn new things along with your job, it always makes the job more interesting. Visit my site sepatu pria dan sepatu online shop. 1/8/2014 9:41 PM | Sepatu Pria

# my web

Gravatar Interesting thoughts here, thank you so much for exposing your ideas. Thank you so much! Visit my site bisnisku dan my blog. 1/11/2014 10:39 AM | bisnisku

Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

 

 

Copyright © Scott Ge