Category: Programming
-
+
+
+
+
+
+
First, consult with AWS and get your credentials: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-credentials.html and http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-smtp-net.html Secondly, let’s make a more easily updatable emailSettings section (encrypt it later, see here if you need help): Then, include the reference: Finally, write your method: Great! Now you can call it and send an email You can always…
-
I had a request come in on a MVC web app to display a user’s full name instead of their domain network username. The app was using something like: which displayed like: Hello, MYDOMAIN\myusername! So to update this on the MVC web app (and avoid a dedicated helper) here is what…
-
The Issue: After I had updated my .Net Core on my developer machine to a newer version I went to debug a web application I had and received this error: Could not load file or assembly ‘DotNetOpenAuth.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246’ or one of its dependencies. The located assembly’s manifest definition…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
I have received this requirement on more than one occasion so I thought it would benefit others if I posted these snippets. So here we go, let’s export a gridview as an excel file. For starters let’s add a couple controls to the front-end aspx page: I’m going to assume…