alley

Stories kicked by alley

Embedding pre-compiled Razor views in your dll(www.chrisvandesteeg.nl)

submitted by alleyalley(2840) 1 year, 6 months ago

Inspired by David Ebbo’s blog post ‘Turn your Razor helpers into reusable libraries’ I wanted to be able to embed compiled Razor views in a dll. This would allow for easy distribution of asp.net mvc ‘modules’ that have their default views embedded, but allowing you to place files in your ‘views’ folder to override those default views read more...

add a comment |category: |Views: 356

tags: another

Learning Bourne – Tiered CRUD Part I(sharplearningcurve.com)

submitted by alleyalley(2840) 2 years, 6 months ago

The first demo I thought I’d throw together is a tiered ASP.Net MVC application which uses a tender-flakey WCF service layer baked right in. I’m calling it Tiered CRUD because it’s a simple CReate Update Delete application that’s contrived as can be. You should absolutely, under no circumstances expect anything mind-blowing or spectacular about this application. It’s not trying to be best practice, it’s just demonstrating the nice stuff Bourne can do for you. read more...

add a comment |category: |Views: 9

tags: another

The Bourne Framework – A High Level Introduction(sharplearningcurve.com)

submitted by alleyalley(2840) 2 years, 6 months ago

A lot of the framework comes from Evan’s past experience with several open source projects. Most of them are fairly widely known: NHibernate FluentNhibernate NHibernateLinq StructureMap MassTransit TopShelf (part of MassTransit) log4Net The framework uses these open source libraries in order to provide out-of-the-box infrastructure for the following types of .Net applications: ASP.Net MVC WCF Windows Services read more...

add a comment |category: |Views: 30

tags: another

Just say no to Service Locator!(blog.vuscode.com)

submitted by malovicnmalovicn(1590) 2 years, 7 months ago

This is a blog post focusing on the differences between Service Locator and Dependency Injection based code particularly focusing on benefits DI has in unit testing. read more...

add a comment |category: |Views: 388

tags: another

IoC, SRP and DI best practices(blog.vuscode.com)

submitted by malovicnmalovicn(1590) 2 years, 7 months ago

A blog post summing some of real world IoC experiences in 5 "laws" read more...

add a comment |category: |Views: 627

tags: another

xVal v1.0 is now released(blog.codeville.net)

submitted by desmonddesmond(2014) 2 years, 8 months ago

In case you’re not aware, xVal is a validation helper for ASP.NET MVC that lets you use your own choice of server-side validation framework (e.g., Microsoft’s DataAnnotations attributes, or Castle Validator, or NHibernate Validaion) and dynamically generates client-side validation code from your rules. Version 1.0 adds new features including dynamic client-side validation summaries and remote (ajax) validation rules. read more...

add a comment |category: |Views: 218

tags: another

ASP.NET MVC, DynamicData, Domain-/RiaServices, Unity and NHibernate(chrisvandesteeg.nl)

submitted by alleyalley(2840) 2 years, 10 months ago

For this project the following (extensive) list of libraries is used (all these libraries are included in the download): * MS ASP.NET Mvc 1.0 * Microsoft .NET RIA Services July 2009 Preview * NHibernate 2.1.0CR1 * NHibernate Linq (latest trunk version) * FluentNhibernate (latest trunk version, patched to work with NHibernate 2.1.0CR1) * MS Unity 1.2 * ASP.NET Dynamic Data MVC Preview (since this project is pretty old, I had to modify it quite a bit, the source is included in the download) * I used Rob Conery’s t4 templates as the base to generate entities from the database. read more...

add a comment |category: |Views: 423

tags: another

Apps for Windows: Silverlight 3 based Twitter Client by Sobees(ithinkdiff.com)

submitted by alleyalley(2840) 2 years, 10 months ago

Apps for Windows: Silverlight 3 based Twitter Client by Sobees <Date: 2009-07-11> <Author: Imran Hussain> 13 Comments Sobees Web Alpha Silverlight 3 Sobees web is a web version of bDule – a Twitter/Facebook client for Windows with a new twist though. It’s made of Silverlight 3 and supports Silverlight out of Browser experience. read more...

add a comment |category: |Views: 13

tags: another

Piwik - Cool Open Source Alternative to Google Analytics(software-wikipedia.blogspot.com)

submitted by priyankadandekarpriyankadandekar(55) 2 years, 10 months ago

Piwik is a downloadable, open source (GPL licensed) web analytics software. It provides you with detailed reports on your website visitors: the search engines and keywords they used, the language they speak, your popular pages and so much more. read more...

2 comments |category: |Views: 373

tags: another

The ASP.NET MVC ActionController – The controllerless action(jeffreypalermo.com)

submitted by alleyalley(2840) 2 years, 11 months ago

There has been quite a bit of discussion about how controllers are really namespaces trying to get out once you use the concept on a nontrivial application. Brian Donahue’s post on The anti-controller revolution prompted me to do this little experiment. He references some twitter posts by Jimmy Bogard, one of my esteemed consultants at Headspring Systems. Chad Myers also has opined about the notion of more independent actions and has cited precedence. read more...

add a comment |category: |Views: 15

tags: another

Session Attacks and ASP.NET - Part 1(blogs.sans.org)

submitted by j.montyj.monty(1868) 2 years, 11 months ago

I’ve spent some time recently looking for updated information regarding session attacks as they apply to ASP.NET and am still not completely satisfied with how Microsoft has decided to implement session management in ASP.NET 2.0+. Part 1 explores ASP.NET session management, authentication, and session attacks against ASP.NET with a comparison of how ASP.NET stacks up against mitigation techniques against these attacks. read more...

add a comment |category: |Views: 396

tags: another

A BuildProvider to simplify your ASP.NET MVC Actio(blogs.msdn.com)

submitted by alleyalley(2840) 2 years, 11 months ago

A BuildProvider to simplify your ASP.NET MVC Action Links read more...

add a comment |category: |Views: 12

tags: another

Scripting ASP.NET MVC Views Stored In The Database(haacked.com)

submitted by alleyalley(2840) 3 years, 1 month ago

Say you’re building a web application and you want, against your better judgment perhaps, to allow end users to easily customize the look and feel – a comment scenario within a blog engine or any hosted application read more...

add a comment |category: |Views: 154

tags: another

An Aha Moment on MVC Validation Extensibility in DefaultModelBinder (codebetter.com)

submitted by alleyalley(2840) 3 years, 1 month ago

It is obvious that I don't like using IDataErrorInfo for use with a validation framework, like the Validation Application Block, so what is this validation extensibility API that scott mysteriously speaks of? read more...

add a comment |category: |Views: 204

tags: another

ASP.NET MVC and the Managed Extensibility Framework (MEF)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 1 month ago

Microsoft’s Managed Extensibility Framework (MEF) is a .NET library (released on CodePlex) that enables greater re-use of application components. You can do this by dynamically composing your application based on a set of classes and methods that can be combined at runtime. Think of it like building an appliation that can host plugins, which in turn can also be composed of different plugins. Since examples say a thousand times more than text, let’s go ahead with a sample leveraging MEF in an ASP.NET MVC web application. read more...

1 comment |category: |Views: 1192

tags: another

Making Unity work more like the others(chrisvandesteeg.nl)

submitted by alleyalley(2840) 3 years, 1 month ago

I love MS Unity as an IoC container, it has some great features. Though I found it to function incorrectly at two points (it’s not that the path chosen by the Unity team is incorrect, I just want/excpect it to act differently). The first thing that bothered me was the fact that Unity throws an exception when Resolve<T> is not able to resolve the given type: I’d prefer it to return null instead, hence most containers do that. The second, even more irritating point, was that ResolveAll<T> only returned the named instances/types instead of all registered types read more...

1 comment |category: |Views: 188

tags: another