copy and paste this google map to your website or blog!
Press copy button and paste into your blog or website.
(Please switch to 'HTML' mode when posting into your blog. Examples: WordPress Example, Blogger Example)
Adding extension methods to IServiceCollection in ASP. NET Core I have the following extension method to add themes support to my application: public static void AddThemes(this IServiceCollection services, Action lt;ThemesOptions gt; setup) { services Conf
design patterns - Service Locator C# - Code Review Stack Exchange I made this service locator to be used on my game projects, but it uses pure c# Basically, new services needs to inherit from the common IService interface to be registered I also added events to
Repository Service Design Pattern - Code Review Stack Exchange I use the Repository Service design pattern in my projects and I have found something that might be a bit redundant Am I writing any unnecessary code? With that in mind, here is my structure: p
Calculating an employees bonus - Code Review Stack Exchange Tidy up your condition: (Nornagest nearly has it correct he needs to reverse the order and put in the else condition otherwise somebody with iService of >= 20 is going to be very happy with multiple bonus )
Code to pass json data with WCF REST POST I have a WCF REST POST that has JSON data as input, IService cs: [OperationContract] [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat Json, BodyStyle = WebMessageBodyStyle WrappedRe