Bundling resources via bundle.config vs BundleConfig.cs in ASP.NET 4.5 WebForms

As far as I can tell, the accepted answer doesn’t actually answer the question at all. It discusses the benefits of the bundling framework, but not how using the BundleConfig.cs is different than using the bundle.config file. A lot of it comes down to whether you prefer working in code or in markup, but each … Read more

Unable to declare Interface ” async Task MyMethod(Object myObj); ” [duplicate]

Whether a method is implemented using async/await or not is an implementation detail. How the method should behave is a contract detail, which should be specified in the normal way. Note that if you make the method return a Task or a Task<T>, it’s more obvious that it’s meant to be asynchronous, and will probably … Read more

The “EnsureBindingRedirects” task failed unexpectedly

It’s a bug in Microsoft.Bcl.Build and to solve it you have to put culture info in the assemblyIdentity-part of web.config or app.config. For example if you have: <dependentAssembly> <assemblyIdentity name=”System.Web.Helpers” publicKeyToken=”31bf3856ad364e35″ /> <bindingRedirect oldVersion=”1.0.0.0-2.0.0.0″ newVersion=”2.0.0.0″ /> </dependentAssembly> change it to: <dependentAssembly> <assemblyIdentity name=”System.Web.Helpers” publicKeyToken=”31bf3856ad364e35″ culture=”neutral” /> <bindingRedirect oldVersion=”1.0.0.0-2.0.0.0″ newVersion=”2.0.0.0″ /> </dependentAssembly>