Enabling Two Factor Authentication for SmarterMail

We’ve updated to the latest build of SmarterMail which includes some highly requested features. One of these features is the option to enable Two-Factor Authentication to help prevent unauthorized access to your email accounts.  

If you want to enable Two-Factor Authentication, first contact our support department to have this feature enabled for you Then log into the mail server either through the DiscountASP.NET control panel or accessing webmail directly via your domain. 

Then go to: Settings (Gear icon)
Look for 2-Step Authentication Option
Click Enable. 

You will then be able to select if you would like the verification code to be sent via email or with an authenticator application.

If you select email, please make sure that you have access to the email you chose since the verification codes will be sent to that email address. If you do not receive the verification email, check your Spam and Junk folders. 

Once Two-Factor Authentication is enabled, you will be prompted to enter the verification code the next time you access your email.

Visit DiscountASP.NET to learn more about our Windows Hosting services.


April 2020 Web Application Gallery Updates

Ray Huang

Below is a list of applications that we updated in the Control Panel Web Application Gallery for April 2020.

  • BlogEngine 3.3.8
  • DotNetNuke (DNN) 9.5.0 Platform
  • Drupal 8.8.1 *
  • Joomla 3.9.16
  • mediaWiki 1.34.1
  • Moodle 3.8.2
  • phpBB 3.3.0
  • phpMyAdmin 5.0.2
  • Umbraco CMS 8.6.0
  • WordPress 5.4

* Drupal replaces Acquia Drupal.

Visit DiscountASP.NET to learn more about our ASP.NET hosting and PHP hosting services.

.NET Core 3.0.3 and .NET Core 3.1.3 Available

.NET Core Hosting

Takeshi EtoOver the past years, Microsoft has been continuing their rapid deployment initiative and releasing minor versions of .NET Core on their own schedule and without much fanfare as was the case with past releases of ASP.NET. (In the past, Microsoft ran entire conferences to push out new ASP.NET versions – remember MIX?)

While we have been keeping pace – as much as we can – with the cadence of .NET Core releases, because of the frequency and low fanfare from Microsoft, we haven’t been making announcements about it. Lately, we’ve seen an increase in questions from customers and potential customers alike on whether or not we support a particular version of .NET Core. So we will start to announce server support for particular .NET Core versions.

So, I’m announcing today that .NET Core 3.0.3 and .NET Core 3.1.3 are both installed on DiscountASP.NET servers. This means that you can deploy apps built with .NET Core 3.0.3 and .NET Core 3.1.3 using framework-dependent deployment (FDD).

We keep a list of the .NET Core versions that are installed on the servers in this knowledge base article.

But please note that even if a particular .NET Core version that you are using is not installed on the server, we do support your application because you can deploy your application using Self-Contained Deployment (SCD). Here is a knowledge base article on how to switch from framework-dependent deployment to self-contained deployment in visual studio.

If you have any questions on any of this, you can always reach out to our technical support staff and they can help you out.

Visit DiscountASP.NET to learn more about our .NET Core  Hosting services.

COVID-19 and DiscountASP.NET

You’ve no doubt have been keeping up to date about coronavirus and all the precautions being taken across the world. We had to make some adjustments like many of you.

Lat week, the day after COVID-19 was declared a pandemic, we asked our staff to start working from home to keep our DiscountASP.NET staff safe and healthy. Yesterday, California instituted a “stay at home” order which means for the foreseeable future our staff will be working from their homes. We’ve always had the systems set up to work remotely, but this will be the first time ALL of our staff will be working from home. So there is going to be a little learning curve as we get used to this new normal.

Please be assured that the level of service you expect from us will not change during this unprecedented time, even though our staff may be working in their pajamas.

If you have questions or concerns, please feel free to contact us.

Please stay safe and healthy. 

DiscountASP.NET renews EU-US and Swiss-US Privacy Shield Certification

Takeshi Eto I’m happy to announce that we renewed the EU-US Privacy Shield and Swiss-US Privacy Shield Certification. Of course, we worked with our Privacy Management Solutions Partner, TrustArc (formerly Truste) to help us through the renewal process. You can get more information about the Privacy Shield program at privacyshield.gov. You can review our Privacy Policy online here.

privacy shield frameworkThe whole global Privacy regulation landscape is continuously changing and is more complex than ever. Running a business is hard enough and there is no way we could keep up with what is going on with global Privacy regulations on top of that. That is why we look to partners like TrustArc to keep up-to-date and help us and guide us in navigating global Privacy standards.

Visit DiscountASP.NET to learn more about our ASP.NET  hosting services.


How to add a View in ASP.NET MVC

In the Model-View-Controller (MVC) pattern, the view handles the application’s data presentation and user interaction.  A view is an HTML template with embedded Razor markup.  Razor markup is code that interacts with HTML markup to produce a web page that’s sent to the client.

  • In ASP.NET MVC, views are .cshtml files that use the C# programming language in Razor markup.

Let’s start by creating a controller:

In Solution Explorer, right click on the Controllers folder and click on Add then Controller like this:

In the Add Scaffold dialog box, click MVC 5 Controller – Empty then Add:

Name your new controller “AboutUsController” and click on Add button:

  • Now, you will get a controller and a view folder in your Solution Explorer.
  • Let us add a view to this controller that will act as a data presentation and user interaction page.

Right click on the “ActionResult Index ()”and click Add view:

  • In the Add View window, use the layout (if you have any).
  • Click on Add button.

You should see a view created in the “AboutUs” folder like this:

Build your project and you can view your new view / page by going to this URL:

http://localhost:#####/AboutUs/ where ##### represents the port number.



Visit DiscountASP.NET to learn more about our ASP.NET MVC hosting solutions


About Guest Blogger: Lavish Kumar

Based out of New York, USA, Lavish Kumar is a full stack web developer by profession and founder of Striving Programmers, a trusted community for developers that offers a wealth of articles and forums to assist individuals with improving their software development skills. He is passionate about writing tech articles and building great web applications. Lavish specializes in custom web applications, e-Commerce platforms, CMS implementation and CRM systems.