Category Archives: ASP .NET

ASP .NET issues and solutions

Enabling Entity Framework Core 1.1 tools

After I created an ASP .NET Core 1.1 project (Console app) with Visual Studio 2017 to develop a new WebAPI, I wanted to add support for EntityFrameworkCore. Everything was OK, except for the Tools.DotNet package, which I couldn’t add with … Continue reading

Posted in .NET, ASP .NET, Miscellaneous, WebAPI | Tagged , , | Leave a comment

FileUpload in UpdatePanel

Want to include a FileUpload in UploadPanel using Ajax-enabled ASP .NET WebForms? You need to do two things: Set encoding type to the form element to multi-part: <form … enctype=”multipart/form-data”> Add a non-async postback trigger on the UpdatePanel for the button that … Continue reading

Posted in ASP .NET | Tagged , , , , | Leave a comment

Graph API access tokens and ASP .NET session expiration

Let’s assume you have created an ASP .NET-based Web application using the default Visual Studio project template, and that you have set up authentication to be based on Work and School Accounts (i.e. Azure based), supporting multiple tenants, and targeting Office … Continue reading

Posted in ASP .NET | Tagged , , , , , , , , , , | Leave a comment

Developing HTML UI for SQL Server data with no middle code (or just a few lines)

I have a friend who knows how to create a SQL Server database and has also learned the basics of HTML and JavaScript, but he couldn’t link these two technologies with ease. Although myself I prefer .NET as glue code, I understood it … Continue reading

Posted in .NET, Angular, ASP .NET, HTML5, JavaScript, Miscellaneous | Tagged , , , , , , | Leave a comment