Archives for ASP.NET
The framework microsoft.aspnetcore.app version 3.1.0 was not found
If you see this error in VS Code, you are missing the aspnetcore runtime (even though you may have installed the larger .net core runtime). Basically, .net core is not…
WebSockets–versus HTTP
I am building a web app (or a mobile app). Can I eliminate HTTP altogether and use WebSockets? Not completely. To perform a websocket handshake , one needs HTTP. Once…
Using Asynchronous methods in .NET–Quick Notes
I developed these notes just as a way to keep myself sane while writing Async methods in C#. Quick Recap - Two types of threads for an programmer 1. Regular…
Kendo UI versus jQuery UI
This is an (ongoing) compilation of some Kendo UI features (mainly GRID related) that have helped me save time (over doing it with jQuery UI) Offline Data Persistence InLine Grid…
Enable IIS logging
To Enable LoggingFire up Programs and Features then click on Turn Windows features on or off on the left side then select Internet Information Services\World Wide Web Services\Health and Diagnostics\HTTP LoggingLocation of Log files%SystemDrive%\inetpub\logs\LogFilesOR C:\Windows\system32\LogFiles\W3SVC1…
Rendering PDF in a modal popup – asp.net mvc
Recently, I had to display a PDF (a pdf report, sent to my app as a byte stream) in a popup window. In MVC, using bootstrap, I was able to…
Enable javascript debugger – works for chrome and IE
function onClick(detailUrl){debugger;}
Some telerik kendo mvc script issues
I love telerik - I hate working out the correct inclusion order of javascript references. Here are some common issues I encountered with Telerik MVC (Kendo) UI . Controls not…
MetadataException: Unable to load the specified metadata resource
When you move your data layer to another project or another folder - you may encounter the following exception MetadataException: Unable to load the specified metadata resource The Solution: The…
MVC apps–set as start page
Of course, MVC does not have the concept of a web page – it is more a web view. The view cannot be accessed directly (unlike a page) – and…