Posts - Page 3 of 3
How-to Setup OpenIDConnect in OWIN MVC project
Open ID Connect, is a protocol that extends OpenAuth with basic profile support. Implementing it in an OWIN (Open Web Interface for .NET) MVC project comes down to a series of steps.
Implement IAuditEntity to automatically audit your entities
Apply the audit information for your Entity Framework entities automatically as part of the SaveChanges() method, doing so ensures you remove the possibility that this crucial information is not managed consistently.
One simple trick for deleting entities using Entity Framework
I want to show you a simple extension method that can be used to make your Entity Framework code more readable.
Using HTTP Content-Range headers to resume file uploads
Resumable file transfers are sometimes necessary in situations where a large amount of data must be sent over a network that experiences intermittent outages. This could be the case when a remote worker at a rural job site has tethered their laptop via a weak cellular signal and needs to upload a large file package back to home office. In many cases using an FTP server may not be an option due to corporate policy or perhaps you are building a service that must perform addiational processing at the ment that a file is completely transfered.