CodeBloggers

IT blog by Trentia Consulting

NAVIGATION - SEARCH

Orchard Project : CMS in ASP.NET MCV

imageOrchard is a web content management system or CMS that appears to have the blessing of Microsoft. Recently we have been developing with this CMS, as an alternative to Umbraco, another well-known .NET CMS.

We especially liked Orchard by its functional and technical characteristics.

Orchard covers pretty well what other CMS may not have very defined, as multilingual and multicultural support, which is usually a problem. It also has good extensibility at many different levels, allowing us to work with MVC views to define even the smallest aspect of the web. We have complete control over the resulting HTML and this is very positive. It also covers aspects of SEO, so necessary today. And finally, delivers good performance, aspect that can also be complex in CMS based on Microsoft. NET.

Our latest Orchard project is the development of a website with CMS, using Foundation Zurb as responsible design framework. We are really pleased with Orchard and the result. I recommend to have it present in your portfolio of CMS solutions.

Web essentials, essential to our Visual Studio

If you work in web environments and design with Visual Studio you may have noticed that the environment doesn't help us too much when performing our design tasks. And if we insist to make our development compatible with multi-platforms, it complicates our work much more since we have to be checking for every CSS property, the compatibility with different browsers.

For these problems, we have a very interesting extension to Visual Studio 2012 (also available for VS 2010) and will almost become indispensable when designing with VS. It's Web Essentials for Visual Studio.

This extension provides us the following functionalities:

Typescript

For those of you who do not know it, typescript is a superset of JavaScript typing and is very useful for implementing scalable applications in JavaScript development. Well, with the extension of VS at the time of saving the file X.ts, web essentials compiles the file and generates the corresponding JavaScript code.

Css edition

With the advent of CSS 3 we have a multitude of specific properties for each browser. With the extension installed, it adds tags - moz, - webkit - s and -o automatically. With the following example, we will see the equivalent result of border-radius for each browser. When we write border-radius, equivalents for each browser are automatically generated and the values of the properties will change automatically the rest when we change one of them.

       

                                                                                    image

Another visual aid that we have is the ability to see with one glance the compatibility of all the properties or to see the corresponding color from a hex color such as:

                                                                                  image

                                                                                   image

Intellisense

We have Intellisense to add regions within the CSS

                                                                                    image

Intellisense to add custom fonts

                                                                                    image

These are just some of the features provided by Web essentials, I recommend you to follow the next link in order to discover all the possibilities provided by this extension.

http://visualstudiogallery.msdn.microsoft.com/07d54d12-7133-4e15-becb-6f451ea3bea6

Wizard to generate Set Analysis expressions in QlikView

This wizard helps you to quickly generate "Set Analysis " expressions for Qlikview.

It can be applied to standard sets, previous and following selections, markers using the basic aggregation functions on strings of characters, counters and statistical aggregation.

It also has a list of examples of most commonly used expressions.

Set Analysis Wizard for QlikView

clip_image001

Windows Authentication in MVC 4 redirects to login page

In my case it has been to Login.aspx, but it could have been /Account/Login. For some reason, calls to drivers that require authorization took me to the login page, when in fact in web.config I have configured Windows authentication.

After researching something, I've seen an article on Stackoverflow that helped me solve the problem. It is about disabling the application SimpleMembership. This is achieved by adding this entry in the <appSettings>key of web.config.

                               1 <add key="enableSimpleMembership" value="false" />

  By the way, here is an article about how to configure SimpleMembership: http://www.mono-software.com/blog/post/Mono/226/Adding-ASP-NET-SimpleMembership-to-an-existing-MVC-4-application/

Available Service Pack 2 for SharePoint 2010

We have available the SP2 for SharePoint 2010, focused on solving problems related to security, stability, and scalability. It also offers better compatibility with Windows 8, Internet Explorer 10, Office 2013 and SharePoint 2013.

You can get more information on :

http://blogs.office.com/b/sharepoint/archive/2013/07/23/check-out-the-sharepoint-server-2010-service-pack-2.aspx

To download it:

 

Update the URL of alerts in SharePoint

For several days I am performing a cautious and step-by-step migration of a complex portal in SharePoint which was being accessed via HTTP protocol and which you should access from now on by HTTPS, which is, with SSL encryption. One of the users has encountered a curious effect, that the emails alert you are receiving include links to HTTP, when in reality this access no longer exists. Apparently this is a common problem and has an easy solution, not only for this but for other scenarios as well.

I have found a PowerShell script and some very useful articles to repair these URLs alert for SharePoint. The script in question is called Invoke-AlertFixup, which as you can see has a sufficiently explicit name. It allows us to indicate to URL the database of alerts that we want to undo and replace it with the new URL or the default URL of the portal. In my case it would be:

                                      > Invoke-AlertFixup –site https://miportal –url http://miportal

As you can see I am doing the change of URLs. The process is quick and effective. I leave you the materials:

PowerShell script in the Script Center for MS: Update alerts by using Windows PowerShell

Technet articles on the topic: