Quick Tips
Over the years I have implemented a number of various "near me" style searches using third-party zip code databases and a long, complicated formula to find the distance between two different latitudes and longitudes. Well, starting with SQL Server 2008, it is possible to get the same result, with a lot less effort, following two simple steps. In this post I will walk through things step by step.
Read more...
Posted by Mitchel on Monday, January 23, 2012
In the past 2-3 weeks I have been working on upgrading the DotNetNuke Installations on both this website and the IowaComputerGurus website and finally I can say I'm done with the upgrades. These sites, although not that complex had a number of issues with the upgrades, some of which I have blogged about in the past, and then today a brand new oddity was discovered. After upgrading the site everything was functional, however the text editors were behaving very unusually. Clicking "Save" at times would not redirect you back to the page, but content would be saved. Other times it would redirect you back to the page, but your changes were not saved. I couldn't find any rhyme or reason behind it, so I started digging.
Read more...
Posted by Mitchel on Sunday, January 22, 2012
So like many developers I have been spending some time recently updating my client, commercial, and open-source modules to support the new DotNetNuke 6 Form Pattern from a design perspective, to make my modules better integrate into the system. Looking around when I was starting there is very little "true" documentation on this concept, and for me it was a bit cumbersome pulling everything together. I started with this Wiki Article and then ended up spending a lot of time digging/inspecting lots of other modules that had been upgraded. So in this post, I'm going to take a bit more of a 'code-centric" no-nonsense approach to what your form should really look like, I hope that this helps you.
Read more...
Posted by Mitchel on Monday, December 19, 2011
One of the things that I have been finding that I do a lot recently is updating user security roles based on actions either taken by the users or actions that have been taken by others. Doing so is quite simple from a DotNetNuke API perspective but how do you go about actually forcing the role membership change right away? That is what I'll talk about in this post.
Read more...
Posted by Mitchel on Monday, November 07, 2011
A while back I released a tool called Secure My Install that was designed to help people take existing DotNetNuke sites and change the way that they store passwords to use a more secure process. Many people have used that module successfully to convert their sites, however, I never took the time to share the few small steps that are needed to simply "secure" your site as soon as you set it up so that you can avoid all of the hassle in the beginning. In this post I'll walk through the simple process of changing your configuration to go from Encrypted Passwords to Hashed passwords and a bit of detail as to "why" you want to make the change.
Read more...
Posted by Mitchel on Friday, October 07, 2011
In an effort to start blogging more about the "helpful" items that I have encountered over the years this is one of my first "Quick Tips" related to improving the life of the developer. We all have had those times where we are tracking down a complex problem within an application and all along the way we have to spend endless time mousing over individual classes to find out what their values are when most commonly we just want to know about one or two key values. Well in this post, I'll show you a neat trick using the "DebuggerDisplay" attribute to help make this process easier.
Read more...
Posted by Mitchel on Friday, August 12, 2011
Recently I was working on a DotNetNuke module that had a need to communicate to a database using a Table Valued Parameter to do some advanced reporting functionality. Researching this resulted in a number of times that I chased my tail and I thought I'd share here the way I got this working.
Read more...
Posted by Mitchel on Tuesday, July 26, 2011
Like many people I have been building DotNetNuke Modules using Chris Hammond's DotNetNuke Module Template. It is a great template set and works well in 99.9% of cases. However, recently I have been building more and more complex module solutions for customers where within a single project I have a need to package up two or more "distinct" modules. Therefore I have one DotNetNuke Module Manifest and it will install multiple modules. Overall the process works great, but there is one small nuance, the filename, if you have two modules you will get xx.xx.xx.yy.yy.yy as the filename, which is the version of module 1, and the version of module two. In my case I just want the first module to show, and in this post I'll show you how.
Read more...
Posted by Mitchel on Thursday, July 07, 2011
One thing that can kill a DotNetNuke quite quickly is a module that goes "rogue" and starts throwing regular errors in the scheduler. This is especially the case when it comes to a module that might be heavily used. Not only do you just have the fact that you are having errors, but you also have the issues around the fact that you can't find TRUE errors in the log. In a world long ago, back in the DNN 4.4 - 4.8.x days there used to be an issue with certain modules that has apparently started to rear its ugly little head again and I'm not sure why. In this post I'll investigate this specific error type.
Read more...
Posted by Mitchel on Thursday, July 07, 2011
Almost two years ago I blogged about How To Get Design-Time Support for DotNetNuke Controls, and back then the solution seemed to be the easiest, just change one setting in your project and everything was just fine. Well, as the years have progressed and people have downloaded and worked with projects I've ran into a few issues with this route and now have a better solution for this.
Read more...
Posted by Mitchel on Thursday, June 09, 2011
Previous Page
1 of 2
Next Page