Home > Resources
Showing posts with label Resources. Show all posts

Thursday, September 29, 2016

How to register .Net 4.5.1 with IIS8 on windows 10

You can use the dism tool to enable features built into Windows. To install .NET 4.5 (or 4.6, they're the same since it's the same CLR4 underneath) into IIS, I think this will work:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all
The /all flag will include any dependencies so you don't have to figure them all out.
You can also see all of the available features by running:
dism /online /get-features
As an aside, aspnet_regiis was used when you needed to install a version of the CLR into IIS. Since all versions of .NET since 4.0 use the same CLR versions, this is now built into the Windows features. So you use DISM to enable the feature instead.

Thursday, August 28, 2014

DNN - Configuring NAnt to package your DotNetNuke Modules


What is NAnt?

NAnt is an open source .NET build tool that can be found by visiting http://nant.sourceforge.net/ You can do a lot of cool things with NAnt and the C# template linked to above utilizes a NAnt build script to package the module with both a SOURCE and an INSTALL package for deployment.

Installing NAnt

The installation of NAnt is pretty straight forward.
1. Download the BINARY ZIP of the 0.90 release of NAnt from http://nant.sourceforge.net

2. Extract the contents of this ZIP file, this will create a local folder with the same file name.
3. Navigate into the extracted folder until you find a BIN folder, navigate into that BIN folder and copy all of the contents of the folder.
4. Go to your C: drive and create a folder called NANT, within this NANT folder paste what you copied in STEP 3.
5. Now that you have the NAnt files placed we can configure Visual Studio to add NAnt to the external tools menu. To do this you will open up Visual Studio, go to the Tools menu and click on External Tools option, that will bring up a window.
6. Click on Add and put the information in for nant, here’s a screenshot of what information you should define. 

Using NAnt to automate your module packaging

Now that you have NAnt setup within Visual Studio, you can simply open the project, and do a build within Visual Studio. You must do a build in VS first, because this creates the DLL that Nant is going to use for assembly name and version info. Once you’ve done the manual build you can then choose the Tools menu in Visual Studio and choose the nant menu item. 

This will cause NAnt to do a release-compile and package your module! When that happens, you should see something similar to the following in your output window.

If you have a “Build Succeeded” message there than you are all set, NAnt has compiled and packaged your module into a folder called package, in the root of your project. You won’t see this folder in Visual Studio, but if you go to the file system, wherever your project is located, you should see the folder.

Hope this helps!


DNN - Error 2 The "MSBuild.Community.Tasks.XmlRead" task could not be loaded...


If you are using Christoc's DotNetNuke Module Development Template, you might run into the error when trying to publish - "Error 2 The "MSBuild.Community.Tasks.XmlRead" task could not be loaded..."

Here are the possible solutions -
  1. Try creating a new project or installing the templates again.
  2. Create a \packages\MSBuildTasks.1.4.0.45\tools\ inside my desktopmodules/myproject and place the  MSBuild.Community.Tasks.dll there...
    Rebuild project and the install folder is there with the package created.
  3. From VS 2012 go to Tools > Library Package Manager > Package Manager Console
    After Package Manager Console loads, type the following command -
    PM> Install-Package MSBuildTasks
    You should get the following messages:
    Successfully installed 'MSBuildTasks 1.4.0.45'.
    Successfully added 'MSBuildTasks 1.4.0.45' to ($CustomModule).
    Delete temporary file
    Copying MSBuild Community Tasks files to ($SolutionDir)\Website\DesktopModules
    ($CustomModule)\Build
    Don't forget to commit the Build folder
    Installing MSBuild Community Tasks Targets file import into project ($CustomModule)
    Import will be added for: $(SolutionDir)\Build\MSBuild.Community.Tasks.targets
    Import added!

    You should now be able to rebuild your module in Release mode. 
1>------ Build started: Project: [projectname], Configuration: Release Any CPU ------
1>CSC : warning CS1607: Assembly generation -- The version '00.00.01.*' specified for the 'file version' is not in the normal 'major.minor.build.revision' format
1>  [projectname] -> [projectpath][projectname].dll
2>------ Publish started: Project: [projectname], Configuration: Release Any CPU ------
2>Connecting to C:\Dev\[projectname]Publish...
2>Copying all files to temporary location below for package/publish:
2>obj\Release\Package\PackageTmp.
2>Publishing folder /...
2>Publishing folder App_LocalResources...
2>Publishing folder bin...
2>Site was published successfully [projectpath][projectname]Publish
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========


Tuesday, August 12, 2014

Telerik Rad Tab cutoff issue





vs









There is a known limitation of RadTabStrip's overlapping tabs rendering. Since parts of the tabs are rendered inside the next/previous tabs. What can be done with a custom skin if the overlapping effect is done with changing the selected tab position to relative in order to get it on top. This however will have some undesired issues in IE6/7 if RadTabStrip is placed in a scrolling container without set position: relative.
I managed a solution to this issue through a simple CSS which handles the tabs to their desired width and wrap where necessary -

 .rtsLI,  
 .rtsLink,  
 .rtsLast,  
 .rtsFirst,  
 .rtsAfter,  
 .rtsOut,  
 .rtsIn  
 {  
        width: auto !important;  
 }  

Add above code anywhere inside the <style> tag or in any of your CSS file that you are using on the site with tab cutoff issue.
I hope this helps many of you facing same issue.

Monday, July 23, 2012

Top 50 Design and Web development Resources

Today, web design and development is the most happening field, and with the growing popularity more and more people are opting for it. Designing is not only about creating websites, but it includes a board set of knowledge encompassing technical know-how, interpersonal communications, and most important the talent for design. The work usually comprise of visual design with knowledge of appropriate platform and in other areas. While it is not difficult to locate tutorials for such platform, it could be tricky to pick few that can be followed forever. Whether you are a novice in web design and development or a pro, you certainly need resources that can be helpful.

Top 10 Photoshop Tutorials Resources

1.Psd.tutsplus - This is a blog/Photoshop site made to house and showcase some of the best Photoshop tutorials around. They have tutorials that not only produce great graphics and effects, but explain the techniques behind them in a friendly, approachable manner.
2.Good-tutorials – Good-Tutorials is the largest source of tutorials on the web today. You can view some of the top techniques in relation with Photoshop design, CSS, Flash, HTML, JAVA, PHP and more.
3.Photoshoptutorials – From basic Photoshop effect to Animation and layout, this one has everything you need. You can also download some of the best Photoshop brushes and Action here.
4.Smashingmagazine – This site delivers useful and innovative information to Web designers and developers. You get the latest trends and techniques in Web development. You will be convinced with the quality of the information presented with Smashing Magazine.
5.Templatetuts – It’s one the best web design tutorial resource for designers on the web. Do not forget to check out the resources and freebie section which has some interesting information for all designers.
6.Planetphotoshop – A nice tutorial site where you can learn some unique Photoshop effect from rain to fire. They have forums and review section for you to discuss the difficulties you face in designing.
7.Pixel2life – Pixel2life is among internet’s largest tutorial index catering to graphic designers, webmasters and programmers, with 51,784 tutorials listed in 88 categories! You also get additional resources to such as articles, programming script and code gallery, hardware reviews, free graphics and stock photography and much more!
8.Browse.deviantart– Excellent group of designers like Andrew McCann, Danielle McKay, Daniel Sowers Jr, Chris Bolt and more are behind deviantart.com. If you wish to become pro in overall designing, you can’t miss this one.
9.Photoshopsupport – Photoshop support features Photoshop tutorials and tips by Jennifer Apple, and offers links to other free Photoshop tutorial sites. You get Adobe Photoshop tutorials and links to free Photoshop brushes, plugins and resources, a blog with the latest Photoshop news.
10.Pslover – A clear and easy to understand list of Photoshop tutorials are available with PSlover. You can submit your own tutorials as well and learn from the experts.

Top 10 Flash Resources

11.Flash.tutsplus – This is a blog/Flash site made to house and showcase some of the best Flash, ActionScript and Flex tutorials around. You get tutorials that not only produce great graphics and effects, but explain in a friendly, approachable manner.
12.Entheosweb.com- apart from great tutorials you also get web design resources including templates, background images, galleries, Flash games etc. Nice group of people letting you know everything about flash.
13.Learnflash– Whether you are beginner, intermediate or advance learner of Flash, learnflash has solution to all level. You can download free tutorials and learn via watching videos.
14.W3schools – w3schools is well known for all the design and development tutorials. It gives you an excellent step-by-step guide to Flash. You can’t miss on this if you want to pro flash.
15.Adobe.com – This Adobe tutorial is especially designed for advanced learners who wish to know high-end ActionScrip. Check out the latest ActionScript 3 resources to get started with or migrate your existing projects to the current version of ActionScript.
16.Flashperfection – This is another excellent tutorial to master Flash. Check out the menu to learn anything about Flash. 3D Tutorial is also available here.
17.Tutorialized – Anything you need to learn about design and development can be found with tutorialized. Do participate in forums for queries regarding any development platform.
18.Knowflash – Easy to understand tutorials for flash are available with Knowflash. You will find video tutorials for you to learn the simple way.
19.Entheosweb – This site is maintained by an enthusiastic group of people mastering in Flash. Learn cool Flash effects and basic Flash concepts with these simple Flash MX 2004 and Flash 8.0 tutorials.
20.Gotoandlearn – It’s a superb guide dedicated only to Flash platform. You learn with all latest and easy techniques with gotoandlearn.

Top 10 jQuery/JavaScript Resources

21.Docs.jquery- A smart group of people are responsible for maintaining the site, in turn offering you solution to all jQuery question. Check this site for anything you need regarding jQuery.
22.W3schools – Many believe JavaScript is a difficult language to learn altogether, but you must check out w3schools to learn it the easiest way.
23.Webdesignerwall – This is a must check out jQuery tutorials for designers. This article contains 10 visual tutorials intended for web designers and newbies on how to apply Javascript effects with jQuery.
24.15daysofjquery – You can have complete understand of basics regarding jQuery. Get ready for some easy to use script with 15daysofjquery.
25.Learningjquery – Learning jQuery is a multi-author weblog providing jQuery tutorials, demos, and announcements. They have tutorials for all skill levels, and each entry is categorized by level of difficulty.
26.Codylindley – One of the best sites designed for jQuery. The site’s focal point is a blog that reflects on Web development, Web standards, CSS, XHTML, CMS’s, site optimization, PHP, MySQL, Macromedia Flash, accessibility, information architecture, visual design, interaction design, and information design.
27.Remysharp – Remy offers brilliant guild to jQuery. Apart from jQuery lessons you can also read few interesting blogs posted there.
28.Sohtanaka – Sohtanaka is a passionate Web Designer and Front-End Developer seasoned in working in the fast-paced, ever-changing web environment. You will enjoy learning through the process as it is well-maintained site.
29.Dustindiaz – This is a bright looking site designed by Dustin who expertise in JavaScript and let you know some of the outstanding tips on it.
30.Net.tutsplus – this site offers tutorials and articles on technologies, skills and techniques to improve how your design knowledge. They cover HTML, CSS, Javascript, CMS’s, PHP and Ruby on Rails.

Top 10 HTML/CSS Resources

31.Yourhtmlsource – This site has excellent HTML tutorials and well-researched links on all aspects of web design, equally suited to beginners and advanced webmasters.
32.W3schools – Again as mentioned earlier this source can be of great help if you desiring to learn HTLM.
33.Htmldog – I’m sure you know this site. The idea of HTLM Dog is to take the somewhat convoluted official specs for XHTML and CSS and present them in a much more readable fashion.
33.W3- This short tutorial is meant for people who want to start using CSS and have never written a CSS style sheet before.
34.Htmlcsstutorials – A nice site designed with easy navigation to offer you knowledge about XHTML and tips on CSS. You get complete reference for html CSS with examples.
35.Html – HTML.net provides guidance and help about designing and developing websites.
36.Tizag – This can be a stepping stone to the budding webmaster and a handy reference to the veteran developer. Tizag is always changing its tutorials and references to incorporate the latest in web design.
37.Boogiejack – This is an HTML help site featuring standards-based HTML tutorials, CSS tutorials and other website design help and resources.
38.Htmlgoodies – This site has group of lessons set up to be covered over a week’s time, one tutorial per day. HTMLGoodies is your resource for HTML, CSS, JavaScript, PHP, ASP and other web development topics.
39.Echoecho- You can use this tutorial either as a complete introduction or as an A-Z reference to HTML. If you’re completely new to HTML you should start with the section that covers HTML Basics.
40Css-tricks – You can locate hand-full of video and text tutorials with CSS-trick. Don’t forget to sign up with their RSS to get some smart tricks on CSS.

Top 10 Web Design Forums Resources

41.Digitalpoint – This is a place designed to discuss about website design and get help with, Photoshop, Flash, JQuery, HTML, CSS, DHTML, etc.
42.Sitepoint – You have great source of information on all platform related to design and development
43.Designerstalk – Anything to discuss about graphics, illustration, programming and more
44.Smashingmagazine – Discussions about current trends and recent developments: design reviews, showcases and interesting or unusual designs are all possible here.
45.Webmaster-talk – A cool place to discuss your knowledge on various platform and get help from the experts
46.Webdesignforums – This is more like a tutorial offering posts with great information.
47.Webdesignerforum- Get help and advice on planning your web design project. This is also a great source for news from the world of design & development and other exciting events.
48.Webdevforums- Web designers and web development professionals get your fundamental web master tools and information here. This is your source for basic website builder knowledge.
49.Webdesignchat – Discuss about your web designing problems, techniques, softwares, websites, latest tricks etc
50.Webdesignforum – You can discuss tips on web design including the use of popular web design software. And get help on any issues related to various platforms.

Friday, July 20, 2012

Ramazan and Health



The fasts of Ramazan can improve a person’s health, but– if the correct diet is not followed – can possibly worsenit! The deciding factor is not the fast itself, but rather what is consumed in the non-fasting hours. To fully benefit fromfasting, a person should spare a great deal of thought tothe type and quantity of food they will indulge in through theblessed month. As mentioned in the section on spirituality(see pages 12–13), overeating can not only harm the bodybut it is thought also to interfere with a person’s spiritualgrowth during the month. A diet that has less than a normalamount of food but is sufficiently balanced will keep aperson healthy and active during the month of Ramazan.The diet should be simple and not differ too much fromone’s normal everyday diet. It should contain foods from allthe major food groups, as shown in the picture above.

Foods that benefit and foods that harm
Fruit and vegetables Bread, other cereals and potatoes
Milk and Meat, fish and dairy foods alternatives Foods containing fat
Foods containing sugar

Foods to avoid are
The heavily-processed, fast-burning foods that contain refined carbohydrates in the form of sugar, white flour, etc., as well as, of course, too much fatty food (eg cakes, biscuits, chocolates and sweets, such as Indian Mithai). It may also be worth avoiding the caffeine content in drinks such as tea, coffee and cola. (Caffeine is a diuretic and stimulates faster water loss through urination.) Foods to avoid Healthy/alternative foods Deep-fried foods, eg pakoras, samosas, fried dumplings Whole grains, eg chickpeas (plain, or with potato in yogurt with different Indian spices), samosas baked instead of fried, and boiled dumplings High-sugar/high-fat foods, eg Indian sweets such as Ghulab Jamun, Rasgulla, Balushahi, Baklawa Milk-based sweets and puddings, eg Rasmalai, Barfee High-fat cooked foods, eg parathas, oily curries, greasy pastries Alternate with chapattis made without oil, and baked or grilled meat and chicken. Try to make pastry at home and use a single layer Cooking methods to avoid Alternative cooking methods Deep frying Shallow frying – usually there is very little difference in taste Frying Grilling or baking is healthier and helps retain the taste and original flavour of the food, especially chicken and fish Curries with excessive oil Start with measuring the oil used in curry and try to bring the oil content down gradually, eg reducing five tablespoons to four. This is a good way of reducing oil without noticing much difference in the taste. A useful tip is to use more onions and tomatoes in the bulk of the curry.


Suhoor, the pre-dawn meal, should be a wholesome, moderate meal that is filling and provides enough energy for many hours. It is therefore particularly important to include slowly-digesting foods in the suhoor. Iftar is the meal which breaks the day’s fast. This meal could include dates, following the Prophetic traditions. Dates will provide a refreshing burst of much-needed energy. Fruit juices will also have a similar, revitalising effect. The meal should remain a meal and not become a feast! Try to minimise the rich, special dishes that traditionally celebrate the fast and keep to the advice included in the table opposite. Many of the foods which are mentioned and encouraged here, are in the Holy Qur’an, and the Sunnah (the Prophetic traditions) also correspond to modern guidelines on a healthy diet and will help to maintain balanced, healthy meals in Ramazan. The most commonly consumed foods by Prophet Mohammed (peace be upon him) were milk, dates, lamb/mutton and oats. Healthy foods mentioned in the Holy Qur’an are fruit and vegetables, such as olives, onions, cucumber, figs, dates, grapes as well as pulses such as lentils. The encouragement of fish can be seen in the fact that Islamic law spares fish from any specific slaughter requirements, making it easy to incorporate fish in a meal.

Wish you all a Happy & Healthy Ramazan