Sentry is a fantastic tool for error tracking in all kinds of applications, including Azure Functions. I focus primarily on the ASP.NET and ASP.NET Core stack and the integrations couldn’t be easier. I’m building out several Azure Functions projects at the moment in Visual Studio 2017 and wanted to incorporate Sentry to report on exceptions.
As you build out a site using the code first approach, at some point you will most likely need to add an additional lookup field to a class. There are a couple of steps required above what’s automatically done for you by EF code first migrations to make things work happily. If you consider the
An application I’m working on requires a facebook style status system and I thought it would be good to include the “posted x minutes ago” text after the status. I’m sure my code is not the most elegant solution but it works so I thought I’d share.
If you’re using LINQ to SQL as your data provider then you will need to add a few extra steps to utilise Data annotations with ASP.NET MVC. If you have created your own objects then you can append annotations such as [DisplayName(“This is the display name I want in the view”)] directly to the object
I needed to get a number of random records from a table. This is a very quick and easy mechanism to use and will work on any table. To load a specific number of random records change the .First() function to be .Take(x) replacing x with however many records you need.
You may find yourself wanting to show and hide a section of your page from a button or a link. This is very easy with a little jQuery. All you need to do is have a triggering object (an a tag in my example) and a target object (a div in my example) You can
A frequent question asked by customers is how to reset the DotNetNuke Host users password if you can’t remember what it is. If you have access to the database this is a fairly easy process. Steps to reset a DNN Host password If you do not know the database details of your DNN database, login