MVC Greedy route mapping and custom route handler

I’m learning to love MVC mostly for it’s flexibility. In a recent situation, I wanted to have a generic controller that will perform CRUD (Create Read Update Delete) operations on an entity. By default, this is not handled, but with a little custom code, it turned out to be quite easy.

By on (tags: mvc, categories: code)

Simple WCF. RESTful and SOAP endpoint at one contract.

REST (Representational state transfer) web service is a service over HTTP with specific architecture. The REST is then an architectural style, which defines the rules of accessing resources exposed in the web. In principle the restful service exposes some sort of resource, for instance collection of entities, which can be easily accessed and changed from external client. To be …

By Mirek on (tags: REST, SOAP, WCF, web service, categories: code)

Simple WCF. The simplest configuration.

The power of WCF is that it can be used to any kind of communication. All known old transmission protocols are covered by WCF and can be totally replaced by it.

 

By Mirek on (tags: WCF, categories: code, web)

Breaking strong name in .net library assemblies.

Recently I was digging in Strong naming and signing in .net. I have found an interesting article on code project Building Security Awareness in .NET Assemblies which describe how the strong name can be easily removed and beaked from an executing assembly. I would like to present the approach that can be used with library assemblies in .net. What is a strong name (also called st…

By Mirek on (tags: Assembly signing, .net, Strong name, categories: code, security)

WCF Data Services performance

The main benefit of using WCF Data Services (formerly ADO.NET Data Services, codename "Astoria) is that this is interoperable, which means it can be accessed from clients created in different technologies. Moreover standard WCF services offers the only exposed set of methods. Data Services, as implementation of OData protocol, offers the Resource to be queried and altered …

By Mirek on (tags: Data Services, OData, WCF, categories: architecture, code)

Software licensing

In this post I would like to briefly describe the topic of software licensing and present few solutions I found on the internet. Licensing topic is highly connected with application security and piracyproof so to speak. We generally provide licensing mechanism when we want to assure that nobody who did not paid for the application can not access this application. We want to protect our intellectual property and give the access to the application only those people who paid us for that.

How this all looks in practice ?

By Mirek on (tags: activation, copyright protection, licensing, product key, serial key, categories: licensing, security)