z2bass

Stories kicked by z2bass

ASP.NET MVC JavaScript Routing(weblogs.asp.net)

submitted by zowenszowens(988) 1 year, 5 months ago

I introduce a small utility that will allow generation of routes and controller actions into JavaScript to allow URL generation on the client side using ASP.NET MVC routing. read more...

1 comment |category: |Views: 352

tags: another

Mulit-tenant ASP.NET MVC – Controllers(weblogs.asp.net)

submitted by zowenszowens(988) 1 year, 11 months ago

The time has come to talk about controllers in a multi-tenant ASP.NET MVC architecture. This is actually the most critical design decision you will make when dealing with multi-tenancy with MVC. In my design, I took into account the design goals I mentioned in the introduction about inversion of control and what a tenant is to my design. read more...

add a comment |category: |Views: 36

tags: another

Multi-tenant ASP.NET – Foundation(weblogs.asp.net)

submitted by zowenszowens(988) 1 year, 11 months ago

In my last post, I talked about some of the goals of multi-tenancy in general and some hints about my implementation. Now it is time to put a little meat on the bones. I’m ready to share my ideas about how to implement a multi-tenant system on ASP.NET MVC and IIS7. read more...

add a comment |category: |Views: 76

tags: another

Multi-tenant ASP.NET MVC – Introduction(weblogs.asp.net)

submitted by zowenszowens(988) 2 years ago

In this first post, I discuss what multi-tenancy means and how my implementation will be structured for use in ASP.NET MVC. Multi-tenancy is a technique used by many developers to increase IIS efficiency and reuse code. This is an introduction into some of the core elements of multi-tenancy and how to use multi-tenancy in ASP.NET MVC. read more...

add a comment |category: |Views: 294

tags: another

A new way to filter a list by URL - StringToIQueryable(weblogs.asp.net)

submitted by zowenszowens(988) 2 years, 4 months ago

Ever see a URL with a bunch of query string variables that is used to filter a list result? There is a new way to write and parse a query parameter using a parser monad and a few standard combinators that can be used to filter an IQueryable based on a pre-defined syntax. Have a look at the code that will make your querying easier with MVC. read more...

add a comment |category: |Views: 11

tags: another

Fluent NHibernate with System.ComponentModel.DataAnnotations (weblogs.asp.net)

submitted by zowenszowens(988) 2 years, 7 months ago

Want to map your domain with DataAnnotations validation? Using Fluent NHibernate? Then take a look at how to create a simple convention! read more...

add a comment |category: |Views: 155

tags: another

Maybe Monad… My C# version(weblogs.asp.net)

submitted by zowenszowens(988) 2 years, 8 months ago

Functional programming paradigms are increasingly important to all .NET developers. Monads are key concepts in functional languages. The maybe monad seen in some languages can be ported to C#. In this post, I detail the elements key to the maybe monad and the implementation decisions made when creating such a container. read more...

add a comment |category: |Views: 42

tags: another

ASP.NET MVC custom ActionResult (ImageResult)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 4 years ago

The ASP.NET MVC framework introduces the concept of returning an ActionResult in Controllers since the "preview preview" release on CodePlex. The purpose of this concept is to return a generic ActionResult object for each Controller method, allowing different child classes returning different results. In this blog post, I will build a custom ActionResult class which will render an image to the HTTP response stream. read more...

add a comment |category: |Views: 1056

tags: another

ASP.NET MVC - Using Post, Redirect, Get Pattern(blog.eworldui.net)

submitted by mhawleymhawley(1125) 4 years ago

Moving away from the postback mindset and utilizing the Post, Redirect, Get pattern within ASP.NET MVC to achieve true separation and less chance of reposting form information. read more...

1 comment |category: |Views: 386

tags: another

Code Based Repeater for ASP.NET MVC(haacked.com)

submitted by alleyalley(2840) 4 years ago

A foreach loop doesn’t help you handle alternating items, for example. My response to this story is, “The foreach loop is not our repeater control. Our repeater control is an iterating extension method with lambdas!”. Because who doesn’t love lambdas? read more...

2 comments |category: |Views: 272

tags: another

A C# Operator I would like to see.(objectreference.net)

submitted by Vort3XVort3X(1335) 4 years ago

You could argue there are too many operators in C# as it is; however, I feel having an acute knowledge of the available operators is like knowing CTRL + B will bold the selected text in most word processing software. To put it simply, it hurts no-one, whilst providing shortcuts to advanced users... read more...

add a comment |category: |Views: 14

tags: another

ASP.NET MVC CSS Sprite(weblogs.asp.net)

submitted by zowenszowens(988) 4 years, 1 month ago

I build on my last technique of generating CSS Sprites and make a unique solution for the MVC framework using a custom ActionResult. read more...

add a comment |category: |Views: 145

tags: another

CSS Sprites generated for ASP.NET(weblogs.asp.net)

submitted by zowenszowens(988) 4 years, 2 months ago

CSS Sprites are a technique of adding images into one image file and then rendering them for use on your site. This will save your website's users HTTP Requests needed to load up your pages. read more...

add a comment |category: |Views: 32

tags: another