Wednesday, August 22, 2012

An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter

I got this error when i redirect to another action with parameters.
In my case, the problem was parameter name. Add correct parameter.

return RedirectToAction("ProductTryout", new RouteValueDictionary(new { controller = "Catalog", action = "ProductTryout", productId = model.Id }));

Monday, August 20, 2012

A generic error occurred in gdi+

You can not save the same bitmap which is being used by other process. So rename it and then try to save

Wednesday, August 15, 2012

A route named could not be found in the route collection. NopCommerce

Go to the Nop.Web.Infrastructure.RouteProvider.cs
Add  following Code 
routes.MapLocalizedRoute("YourLink",
                            "customer/YourLink",
                            new { controller = "Customer", action = "YourLink" },
                            new[] { "Nop.Web.Controllers" });


How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...