-
|
In the recent release, there has been few enhancements in the Web Asset Management. One of the new thing that we introduced which was actually requested by the community is Shared Web Asset. In this post, I will show you, how to use it in your ASP.NET MVC Application. In the previous version, you can only define the web assets either in the ScriptRegistrar or StyleSheetRegistrar like the following: <% Html.Telerik() .ScriptRegistrar() .Scripts(scripts => scripts.AddGroup("myScripts", group => group.Add("script1.js") .Add("script2.js") .Add("script3.js") .Combined(true) .Compress(true) ) ) .Render();%> if you want to reuse it in another page, you have to copy the exact same thing. Also the url...
|
-
|
One of the biggest complaints about DotNetNuke , is, and always has been, the lack of documentation. I’ve been trying to help correct that problem for a while now. A year ago I started writing a book that was Published in June, DotNetNuke 5: A User’s Guide , I think it turned out to be a good resource for people looking to learn how to setup and use DNN to build a website. The book however can’t cover everything about DNN, and wasn’t intended too. There are a number of other books out there for DNN...( read more ) Read More...
|
-
|
Daniel Bardi, a Visual WebGui user shared his experience with the Umbraco community as he wrote in his post "...The UI is amazing and works in all known webbrowsers... it's the reason I had decided on the platform for the project (and by reading the many, many reviews). The framework allows non-web developers (or winform developers) to build web applications using a WinForms development environment. No more worries about session and state. The web applications runs on the server and is "projected...( read more ) Read More...
|
-
|
Today I’m very happy to announce that I have officially started my new position as a Director of Engineering at DotNetNuke (DNN) Corp . For those that have followed my career, you could have probably predicated that it was just a matter of time. I have unofficially been an “Evangelist” for DNN for years; I would jump at any chance for open and honest discussion on the merits, advantages and disadvantages of using it for any given situation. I have personally developed a countless number modules, skins, tools, etc.. for a variety of large and small scale solutions. I also use it for the Annual Vancouver TechFest and for a variety of small family and friend sites. I look forward to personally engaging with the DNN User Community and...
|
-
|
My one-hundred-and-eighty-second podcast is up . Scott's in Mexico this week and he's sitting down with Molly Holzschlag . Molly is a well-known Web standards advocate, instructor, and author and correctly works for Opera as an evangelist. She Read More......( read more ) Read More...
|
-
|
Those who have seen my tweet , already know that we have started working on our ASP.NET MVC Grid. In post I will show you the very early version of our Grid, so that you can provide your valuable feedback to guide us in the right direction. So far, we have implemented the paging and multi-column sorting. Let me show you the minimum code to set it up. First, we will create an action method which creates some random data for view: public ActionResult Basic() { Random rnd = new Random(); IList<InMemoryCustomer> model = new List<InMemoryCustomer>(); for (int i = 1; i <= 100; i++) { InMemoryCustomer c = new InMemoryCustomer { Id = rnd.Next(1, 1000), Name = string.Format("Dummy Name #{0}", i), Address = string.Format("Dummy...
|
-
|
You may have noticed that Novell released a way of creating native iPhone applications with C# and potentially any other .Net language with Monotouch , only to find out that it's $399 for a single developer license. Fear not, last night Novell released a "trial" version of Monotouch which will enable you to develop these apps without the need to pay for a license. Using this trial means that you will not be able to run your application on the device (which is important for testing if you're looking...( read more ) Read More...
|
-
|
In the previous post we have created our initial domain model, in this post I will show you how the domain model is mapped to database with Entity Framework 4.0. But before that I would like to discuss how I usually structure the Visual Studio Projects. Most often I prefer to have a one class library and one web project where each has its own unit test project and only one integration test project, for example: Shrinkr.Core Shrinkr.Core.UnitTest Shrinkr.Web Shrinkr.Web.UnitTest Shrinkr.IntegrationTest The Core Project is then further divided into following folders: Shrink.Core Common (Utility, Invariant etc etc) EntityObjects (Contains both domain objects and DTOs) Extensions (Extension methods) Repositories (Contains both interface and...
|
-
|
Microsoft’s strategy with open source has evolved over the past several years as we strive to make Windows the platform of choice for customers. My team has participated in that process first hand, we’ve worked hard with the PHP community to ensure PHP runs great on Windows , integrated PHP installation into the Microsoft Web Platform Installer , and engaged some of the most popular PHP applications like WordPress , Drupal , and SugarCRM to ensure customers have a great experience running these...( read more ) Read More...
|
-
|
As you know that we will be including Menu in our final release , when defining the menu, it will allow to specify the Route Name, Controller/Action name and associated route values for an menu item so that we can generate the corresponding url. One of the basic feature that we want to include is, when rendering the Menu it will scan through the controller’s actions and only render the menu items that the currently visiting user has permission. As you can guess, it is related with the AuthorizeAttribute of ASP.NET MVC framework. The actual method that is responsible for checking the permission of this attribute is AuthorizeCore which is marked as protected , so there is no way we can call this method from our code. So I decided to check, how...
|