diggerdanh

Stories kicked by diggerdanh

5 Ways That Postsharp Can SOLIDify Your Code: Authorization(www.sharpcrafters.com)

submitted by mgrovesmgroves(260) 1 year, 2 months ago

One of the best uses of AOP is to take cross-cutting concerns that repeat themselves over and over in your system, and move them into their own class. Authentication and authorization are important parts of many applications, but too often the code to check if a user is authorized is spread all over the app. A class should have one and only one reason to change, so let's get the "auth" stuff into its own class. read more...

add a comment |category: |Views: 280

tags: another

5 Ways That Postsharp Can SOLIDify Your Code: Logging and Auditing (www.sharpcrafters.com)

submitted by gfraiteurgfraiteur(988) 1 year, 2 months ago

Matt Groves's journey through the top 5 aspects inevitably meets logging and auditing. But rather than staying at the "Hello, world" level, Matt explains how the aspect can be optimized for performance, and shows how the aspect optimizer, a feature of the professional edition of PostSharp, makes the difference. read more...

add a comment |category: |Views: 279

tags: another

5 Ways That Postsharp Can SOLIDify Your Code: Caching(www.sharpcrafters.com)

submitted by mgrovesmgroves(260) 1 year, 3 months ago

Sometimes there's just no way to speed up an operation. Maybe it's dependent on a service that's on some external web server, or maybe it's a very processor intensive operation, or maybe it's fast by itself, but a bunch of concurrent requests would suck up all your resources. There are lots of reasons to use caching. PostSharp itself doesn't provide a caching framework for you (again, PostSharp isn't reinventing the wheel, it's just making it easier to use), but it does provide you with a way to (surprise) reduce boilerplate code, stop repeating yourself, and separate concerns into their own classes. read more...

1 comment |category: |Views: 335

tags: another

5 Ways Postsharp Can SOLIDify Your Code: Lazy Loading of Dependencies(www.sharpcrafters.com)

submitted by gfraiteurgfraiteur(988) 1 year, 3 months ago

Matthew Groves discusses how combining aspect-oriented programming and a service locator can provide an attractive alternative to dependency injection containers. Dependencies are loaded lazily when a property or field is first fetched, and there's no reference to the service locator in source code. read more...

add a comment |category: |Views: 363

tags: another

The NEW DotNetKicks front page is in beta(dotnetkicks.com)

submitted by javeryjavery(5523) 1 year, 10 months ago

We are working on totally reworking how the front page of DotNetKicks works and the new version is now in public beta. Check it out, use it, and give us your feedback! read more...

5 comments |category: |Views: 433

tags: another

Working with WCF Part Seven - What's the deal with REST?(jamescbender.com)

submitted by JamesCBenderJamesCBender(749) 1 year, 10 months ago

The good news is that if you are reading this blog then you have used REST. The reason is that REST is the architectural basis for the Internet. When you opened your web browser of choice and typed www.jamescbender.com into the address bar and hit ENTER, the browser issued a request to the access resource located at www.jamescbender.com (whatever that may be) using the REST GET verb. In fact, if you’ve ever navigated to any website you’ve seen REST in action. That’s the basis of REST; clients make requests to servers using a Uniform Resource Identifier (URI) which, depending on which REST verb was used in the request, returns, created, alters or deletes the resource at the location specified by the URI. It’s that simple. read more...

add a comment |category: |Views: 14

tags: another

Toughest Developer Puzzle Ever 2(toughestdeveloperpuzzleever.com)

submitted by jblankenburgjblankenburg(1264) 1 year, 11 months ago

You may recall giving the "Toughest Developer Puzzle Ever" a try last year, and they created a new one for this year. There's 100 levels, and they've got prizes for the first 100 people to finish it! read more...

add a comment |category: |Views: 1161

tags: another

Add a Google Reader Shared Items widget to any site with jQuery(danhounshell.com)

submitted by diggerdanhdiggerdanh(295) 2 years, 3 months ago

Use a little bit of jQuery + CSS to display your Google Reader Shared Items on your web site. read more...

add a comment |category: |Views: 27

tags: another

Add a Last.fm Widget to any web site with jQuery(danhounshell.com)

submitted by diggerdanhdiggerdanh(295) 2 years, 3 months ago

The “Lastest Music” widget pulls data from my Last.fm account. Currently I’m displaying the 12 artists/albums that I’ve listened to the most on Last.fm over the last week. It shows the cover art for each album and links to the album’s page on Last.fm. read more...

add a comment |category: |Views: 13

tags: another

ASP.NET MVC Chained Controller Factory(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 9 months ago

My last post on the REST for ASP.NET MVC SDK received an interesting comment… Basically, the spirit of the comment was: “There are tons of controller factories out there, but you can only use one at a time!”. This is true. One can have an IControllerFactory for MEF, for Castle Windsor, a custom one that creates a controller based on the current weather, … Most of the time, these IControllerFactory implementations do not glue together… Unless you chain them! read more...

add a comment |category: |Views: 288

tags: another

Free ASP.NET MVC eBook Tutorial - ScottGu(weblogs.asp.net)

submitted by beckelmwbeckelmw(2755) 3 years, 2 months ago

There has been a lot of excitement in the community about the new ASP.NET MVC framework that is about to ship (literally any day now – announcement coming soon). As with anything new, people are also asking for more tutorials/samples/documentation that cover how to get started and build applications with it. Over the last few months I’ve been helping to contribute to an ASP.NET MVC book that Scott Hanselman, Rob Conery, and Phil Haack have been writing for Wrox. The book is now in production, and will be available to buy in stores soon read more...

2 comments |category: |Views: 802

tags: another

How to use Ninject with ASP.NET MVC(codeclimber.net.nz)

submitted by justin_etheredgejustin_etheredge(8539) 3 years, 3 months ago

By default, the ASP.NET MVC framework instantiate controllers calling their default constructor. This makes using Dependency Injection impossible. But, as almost everything inside that framework, the logic with which a controller is instantiated can be replaced with you own logic. This can be done creating your own ControllerFactory, which is pretty simple. But if you are using one of the many popular DI/IoC libraries, that task is even simpler, since there are already custom controller factories for almost all the IoC libraries available. In this post we are are going to see how to use the ControllerFactory that delegates to Ninject the creation of your controllers. read more...

add a comment |category: |Views: 238

tags: another

CarTrackr on Windows Azure - Part 4 - Membership and authentication(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 5 months ago

This post is part 4 of my series on Windows Azure, in which I'll try to convert my ASP.NET MVC application into a cloud application. The current post is all about implementing authentication in CarTrackr. Other parts: Part 1 - Introduction, containg links to all other parts Part 2 - Cloud-enabling CarTrackr Part 3 - Data storage Part 4 - Membership and authentication (current part) read more...

add a comment |category: |Views: 188

tags: another

CarTrackr on Windows Azure - Part 3 - Data storage(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 5 months ago

This post is part 3 of my series on Windows Azure, in which I'll try to convert my ASP.NET MVC application into a cloud application. The current post is all about implementing cloud storage in CarTrackr. Other parts: Part 1 - Introduction, containg links to all other parts Part 2 - Cloud-enabling CarTrackr Part 3 - Data storage (current part) read more...

add a comment |category: |Views: 147

tags: another

CarTrackr on Windows Azure - Part 2 - Cloud-enabling CarTrackr(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 5 months ago

This post is part 2 of my series on Windows Azure, in which I'll try to convert my ASP.NET MVC application into a cloud application. The current post is all about enabling the CarTrackr Visual Studio Solution file for Windows Azure. read more...

add a comment |category: |Views: 148

tags: another

Track your car expenses in the cloud! CarTrackr on Windows Azure - Par(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 5 months ago

As you may see in the title, I will be starting a series on modifying my CarTrackr sample application to a cloud-based, Windows Azure application. At this point, I don't know if it's easy nor do I know what it takes to achieve this goal. I only have some assumtions on how CarTrackr can be converted to a cloud application. This post is part 1 of the series, in which I'll describe the architecture of Windows Azure and what I think it takes to convert my ASP.NET MVC application into a cloud application. read more...

add a comment |category: |Views: 257

tags: another