| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
3 Articles match "Codeplex","Sample"
| Related DevelopMentor Courses | MORE | | Use Common Instance Factory to Abstract Away the Dependency Injection Container When searching for a way to abstract away the DI container, the first solution I examined was the Common Service Locator , built by Microsoft’s Patterns and Practices group back in 2008 with the source code posted on CodePlex. Download the Common Instance Factory from NuGet , or get the source code and samples from the CodePlex site. Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. In this example, an IGreetingRepository is passed to the GreetingService’s constructor. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 You still get all the source code, supporting libraries, and an abundance of samples. Otherwise, run the full installer from the CodePlex site and you’ll get the entire Simple MVVM Toolkit experience. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! You can download the latest version here and take it for a spin – or get it from the Visual Studio Extensions Gallery by opening Visual Studio and selecting Extensions Manager from the Tools menu. If you have questions or comments, feel free to post them on the project discussion board. DevelopMentor Courses - Friday, March 2, 2012 Decouple WCF Services from their DI Container with Common Instance Factory To see examples of using CIF with WCF extensions, download samples and source code from the CIF CodePlex site. In my last blog post I introduced the Common Instance Factory , which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container. Unlike the Common Service Locator (CSL), the Common Instance Factory (CIF) discourages the service location anti-pattern by using the abstract factory design pattern. null ) { disposable.Dispose(); } } } } }. To get CIF, download the NuGet CIF packages. Enjoy. DevelopMentor Courses - Saturday, May 26, 2012 |
25 Articles match "Codeplex","Sample"
| The Latest from DevelopMentor | MORE | | Decouple WCF Services from their DI Container with Common Instance Factory To see examples of using CIF with WCF extensions, download samples and source code from the CIF CodePlex site. In my last blog post I introduced the Common Instance Factory , which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container. Unlike the Common Service Locator (CSL), the Common Instance Factory (CIF) discourages the service location anti-pattern by using the abstract factory design pattern. null ) { disposable.Dispose(); } } } } }. To get CIF, download the NuGet CIF packages. Enjoy. DevelopMentor Courses - Saturday, May 26, 2012 Use Common Instance Factory to Abstract Away the Dependency Injection Container When searching for a way to abstract away the DI container, the first solution I examined was the Common Service Locator , built by Microsoft’s Patterns and Practices group back in 2008 with the source code posted on CodePlex. Download the Common Instance Factory from NuGet , or get the source code and samples from the CodePlex site. Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. In this example, an IGreetingRepository is passed to the GreetingService’s constructor. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 You still get all the source code, supporting libraries, and an abundance of samples. Otherwise, run the full installer from the CodePlex site and you’ll get the entire Simple MVVM Toolkit experience. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! You can download the latest version here and take it for a spin – or get it from the Visual Studio Extensions Gallery by opening Visual Studio and selecting Extensions Manager from the Tools menu. If you have questions or comments, feel free to post them on the project discussion board. DevelopMentor Courses - Friday, March 2, 2012 | -
| The Best from DevelopMentor | MORE | - Workflow Services and Windows Phone 7
The sample application, that is complete with all source on CodePlex over here , consists of an expense app on the phone and an ASP.NET MVC site hosting the workflow service. Today I did a fun presentation at the Engineering World Conference in the Netherlands on using the Windows Phone 7 with a Workflow Service hosted on Windows Azure. The PowerPoint presentation can be found here. It was a fun session on a fun event www.TheProblemSolver.nl www.dotnetevents.nl.NET Workflow WCF WF4 ASP.NET VS2010 WP7 AppFabric DotNed Azure The Problem Solver - Saturday, February 5, 2011 - Getting Started with WCF and Rest material
If you want to take another look at the slides or samples you can download them using the links below: PowerPoint slides. For more info about the WCF Web API you can check the WCF CodePlex site. Thanks everyone for joining in with the DevelopMentor webinar I did last night on Getting Started with WCF and Rest. ASP.NET MVC 3 project containing the REST service. Enjoy! TheProblemSolver DotNetEvents.NET WCF webcast REST dotnetmag HTML5 The Problem Solver - Friday, January 20, 2012 - Improving WIF’s Claims-based Authorization - Part 3 (Usage)
now want to show some samples how I actually use these extensions. The following code snippets are from Thinktecture.IdentityServer on Codeplex. In the previous posts I showed off some of the additions I made to WIF’s authorization infrastructure. The following shows the MVC attribute on the WS-Federation controller: [ ClaimsAuthorize ( Constants. Actions.Issue, Constants. Resources.WSFederation)]. public class WSFederationController : Controller. ClaimsAuthorize ( Constants. Actions.Administration, Constants. Resources.RelyingParty)]. the WRAP endpoint): if (! Actions.Issue)). {. www.leastprivilege.com - Wednesday, May 4, 2011 - Improving WIF’s Claims-based Authorization - Part 2
The CAS attribute is part of Thinktecture.IdentityModel on Codeplex (or via NuGet: Install-Package Thinktecture.IdentityModel). If you really want to see that code ;) There is also a sample included in the Codeplex donwload. In the last post I showed you how to take control over the invocation of ClaimsAuthorizationManager. Then you have complete freedom over the claim types, the amount of claims and the values. In addition I added two attributes that invoke the authorization manager using an “application claim type”. public class ClaimsAuthorize : AuthorizeAttribute. {. www.leastprivilege.com - Wednesday, May 4, 2011 - Use Common Instance Factory to Abstract Away the Dependency Injection Container
When searching for a way to abstract away the DI container, the first solution I examined was the Common Service Locator , built by Microsoft’s Patterns and Practices group back in 2008 with the source code posted on CodePlex. Download the Common Instance Factory from NuGet , or get the source code and samples from the CodePlex site. Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. In this example, an IGreetingRepository is passed to the GreetingService’s constructor. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 - Workflow Services and Windows Phone 7
The sample application, that is complete with all source on CodePlex over here , consists of an expense app on the phone and an ASP.NET MVC site hosting the workflow service. Today I did a fun presentation at the Engineering World Conference in the Netherlands on using the Windows Phone 7 with a Workflow Service hosted on Windows Azure. The PowerPoint presentation can be found here. It was a fun session on a fun event www.TheProblemSolver.nl www.dotnetevents.nl.NET Workflow WCF WF4 ASP.NET VS2010 WP7 AppFabric DotNed Azure The Problem Solver - Saturday, February 5, 2011 - Reporting using Entity Framework
Let’s look at a sample. The sample will work on the AdventureWorks2008R2 database which can be downloaded from CodePlex. For many years the mantra for implementing business logic in your line of business application has been: “don’t put it in the database, don’t put it in the user interface”. In other words, apply the layers design pattern if at all possible, together with implementing the Model-View-ViewModel ( MVVM ) or Model-View-Controller ( MVC ) pattern. Technologies like Entity Framework help us convert data in the database to.NET objects and add logic. Life is good. The Blomsma Code - Wednesday, October 20, 2010 %>
| | |