I looked through a lot of the code that is generated by the tool and traced the problem all the way to the
MyController.generated.cs file:public class ActionNamesClass {
public readonly string Index = "Index";
public readonly string Edit = "Edit";
public readonly string Create = "Create";
}Great now I have to edit the way the code is generated... or do I?
Solution
Turns out David Ebbo has thought of everything! There is a setting in theT4MVC.settings.t4 file specifically for that, which I just need to set to true:// If true, use lower case tokens in routes for the area, controller and action names const bool UseLowercaseRoutes = true;
Now when I look at the generated code in my
MyController.generated.cs file I can see:public class ActionNamesClass {
public readonly string Index = ("Index").ToLowerInvariant();
public readonly string Edit = ("Edit").ToLowerInvariant();
public readonly string Create = ("Create").ToLowerInvariant();
}Lovely.



Great Tip man, Thanks =D
ReplyDeleteFood is one of the most memorable parts of any wedding, so choosing the right catering service is important. Couples looking for reliable Caterers in Delhi can compare different options based on their menu, service quality, event size, and budget. Exploring the available choices in advance can make wedding planning much smoother.
ReplyDeleteA well-planned menu can make a wedding celebration even more enjoyable for guests. Those searching for experienced Caterers in Faridabad can explore different catering options and consider factors such as menu variety, presentation, service, and pricing before making a final decision.
ReplyDeleteSelecting a suitable caterer is an important part of organizing a successful wedding or special event. This guide can be useful for people looking for Caterers in Ghaziabad, as comparing menus, catering packages, guest capacity, and service options can help in finding a suitable choice for the occasion.
ReplyDeleteThe food and catering service can have a major impact on the overall wedding experience. Anyone planning an event and searching for Caterers in Gurgaon can explore different providers and compare their menus, specialties, presentation, and packages according to the requirements of the celebration.
ReplyDeleteGood food brings guests together and can make a wedding celebration more memorable. For those planning an event, this resource for Caterers in Noida can help in exploring catering options based on menu preferences, number of guests, budget, and the type of wedding event being organized.
ReplyDeleteSelecting a banquet hall is one of the key decisions when planning a wedding or special occasion. This guide to Banquet halls in Noida can help people explore different venue options and compare factors such as amenities, location, capacity, ambience, and catering arrangements.
ReplyDeleteDelhi offers a wide range of venues for weddings, receptions, and other celebrations. Those exploring Banquet halls in Delhi can consider factors such as guest capacity, location, décor, catering, parking, and event facilities to find a venue that fits their specific requirements.
ReplyDeleteWedding photography is an important part of preserving the special moments of a celebration. Couples searching for Wedding Photographers in Delhi can explore different professionals based on their photography style, experience, packages, and event requirements. Comparing portfolios beforehand can help in finding a suitable photographer.
ReplyDeletePlanning a private party becomes easier when you have a spacious venue with the right amenities and a comfortable setting. Those looking for Villas in Ghaziabad for Party can explore different options based on guest capacity, location, facilities, outdoor space, and budget. Comparing the available amenities beforehand can help in selecting a suitable venue.
ReplyDeleteA private villa can be a convenient option for celebrations, family gatherings, and small events where privacy and flexibility are important. People searching for Villas in Ghaziabad can compare properties based on their location, space, amenities, group size, and event requirements to find an option that suits their occasion.
ReplyDelete