Quantcast
Channel: ASP.NET / ASP.NET Core
Browsing all 108 articles
Browse latest View live

SMTP email best practices?

Hello, I'm working on a site that sends text messages and/or emails to customers when certain weather conditions meet their criteria. I'm not expecting to reach the quota of 1000 per hour or 5000 per...

View Article


Issues sending sms via ASP.NET System.Net.Mail

I'm having an issue sending a text message to my phone via System.Net.Mail....It sends to an email address fine, and says that it was sent successfully to my phone, but I never receive it. The funny...

View Article


Problem with Losing Session State and User.Identity.IsAuthenticated

Hi, I have an issue where my session state as well as the authentication cookie from Asp.Net Identity constantly gets lost. It follows no pattern or has any consistency as to when or how it happens,...

View Article

ASP.NET 5 RC GO LIVE!

http://blogs.msdn.com/b/webdev/archive/2015/11/18/announcing-asp-net-5-release-candidate-1.aspx I understand there are some technical issues with regards to providing ASP.NET 5 RC Go Live environments,...

View Article

Application Path Error

How do I resolve this error. The c# code I am updating does not use applicationpath. Discountasp.net has a root that begins with E:. Can anyone help? See below: Server Error in '/' Application. Could...

View Article


Form field error

Hello I am getting the following error in a 'confirm new password' field. The error is: Server Error in '/' Application. The ControlToValidate property of 'PasswordConfirmCompareValidator' cannot be...

View Article

File size limit: System.Web.HttpException

Hello I have an file upload button on an aspx file. The file size limit, defined in Web.config is: 500Kb. When I deliberately go over that amount to test it, I get the following error:...

View Article

Error: cmd.ExecuteNonQuery()

Hello The first part of my code should compare the user's email address in 'UserEmail' - the name of the TextBox into which the user types his email address - with the entry for him in my Access...

View Article


NODE JS NPM Node Package Manager

I am a bit confused about how to run NODE commands in my shared hosting environment. I am new to NODE JS, and I am trying to get a simple web socket sample running in this environment. I added the...

View Article


Assembly binding logging is turned OFF

When I try to run my ASP.Net website I get this error: " WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value...

View Article

Requirements for running a site

I have been hosted by DiscountASP for a couple of years and have some basic questions regarding what works. I am developing in Visual Studio 2013. My site to date was a lot of HTML and a few database...

View Article

Can't get to include bootstrap or other javascript files in the website

So I uploaded the website to the root folder. And when I visit the temporary link, it doesnt include my javascript or bootstrap files. Any idea why? I am using the Bundler to bundle my script and css...

View Article

InvalidCastException Errors happening

Hi, Just tonight i am seeing a lot of 'Specified cast is not valid' errors on all IQueryable<> .ToList() calls in my code. I haven't changed anything in my code. This was working for 5 years...

View Article


Image may be NSFW.
Clik here to view.

Strange empty square!

Hello I have a Web page that allows a user to upload his files. When the upload has completed, a few lines of text appear that show the name of the file uploaded, its size, and where it has been...

View Article

Problem with QueryString?

Hello When a user logs in he is successfully redirected to my userpage.aspx page, but the 'Hello JohnSmith@whatever.com' does not work. I have this in my myLogon.aspx.vb file: Code: ProtectedSub...

View Article


Link to reset a password

'Hello I am hoping to send a link to a user who has forgotten his password. The page is online here: www.dimadayoub.net/forgot.aspx The code I am using (which is followed by SMTP), is as follows: Code:...

View Article

The remote certificate is invalid according to the validation procedure.

In our ASP.NET Core 1.1 app developed using Visual Studio 2017, we are using MailKiT to send email. But the following code is throwing the above error: using MailKit.Net.Smtp; using MimeKit; using...

View Article


Can not publish app

I have just installed VS2017 but can't publish my application as I did in VS2015. There is only "Debug" and "Any CPU" on the solution configuration and platform configuration window. How to fix it?...

View Article

Reducing .NET Core Memory Usage

If your .NET Core application is using more memory than you anticipated, check out this article about reducing memory use: https://blog.discountasp.net/reducing-net-core-memory-usage/

View Article

ASP.NET Core

We recently published these Knowledge Base articles: Changing a .NET Core Application from Framework-Dependent to Self-Contained with Visual Studio 2015 Changing a .NET Core... ASP.NET Core

View Article
Browsing all 108 articles
Browse latest View live


Latest Images