by Rahul Singla | Jan 26, 2018 | .Net, Coding, SharePoint, Tech |
We were recently working on automating back-end processes on SharePoint for a client, and had chosen SharePoint PnP Timer Job Framework as our base SDK to build our background processes to enable them to execute against all versions of SharePoint, including online and...
by Rahul Singla | Jan 10, 2018 | .Net, Coding, Logging |
I was recently working on a bulk processor application which was using log4net for its logging needs (specifically the RollingFileAppender). There were multiple jobs executing in independent threads each having its own Logger instance. We wanted the...
by Rahul Singla | Jan 8, 2018 | .Net, Coding, SharePoint |
I was recently working on a SharePoint project and needed to figure out if an access control list (ACL) is replicated for a SharePoint object in database which is set to inherit security from its parent object. Functionally this won’t impact anything from an...
by Rahul Singla | Mar 12, 2017 | .Net, Coding, Entity Framework, LINQ, Tech |
A few days ago, I was working on some Entity Framework stuff where I encountered the following logic for applying sort expressions to the EF query: var query = this.context.users.AsQueryable(); if (sort == "username") { if (sortDir == "ASC") { query = query.OrderBy(u...
by Rahul Singla | Jul 3, 2016 | .Net, ASP.NET, Coding, MVC, Tech, Web Api |
So I was recently working on an existing ASP.NET MVC project when we decided to expose some of the app’s data to mobile applications using WebApi. How difficult can that be (adding WebApi to an existing MVC project). I mean you add the reference to the NuGet...