Contents with the ASP.NET Core Tag Node
-
How to fix "InvalidDataException: Form value count limit 1024 exceeded." in Orchard Core - Orchard Nuggets
Orchard Nuggets, Orchard Core, ASP.NET Core, Exception, Flow PartLet's suppose you're building your shiny new Orchard Core website. In there you're also building a shiny new page, with Flow Part obviously. You throw together a lot of widgets to get all the bells and whistles on the page, then you save it and BAM! Internal Server Error: "InvalidDataException: Form value count limit 1024 exceeded." What's this, did I break Orchard? Is Orchard trying to break me? Let's fix this!
-
How to add a culture URL segment for localization in Orchard Core - Orchard Nuggets
Localization, Orchard Nuggets, Orchard Core, ASP.NET Core, Content Picker Menu Item, Kast case study - This week in Orchard (02/05/2020)So you're building a localized Orchard Core site and want all URLs to be in the form of /culture-name/rest/of/the/url, e.g. /hu-HU/my-page. (Figure out what "hu-HU" is! Hint: It's not an owl, neither a rock band from Mongolia!) What do you need to achieve this?
-
How to add a favicon under /favicon.ico in Orchard Core - Orchard Nuggets
Orchard Nuggets, Orchard Core, Favicon, ASP.NET Core, Click to deploy improvements, autoroute container routing - This week in Orchard (24/04/2020)Every website needs a favicon of course and you can easily add one to your Orchard Core site from a theme or module with a
link
tag in a template. However, there's a catch: Certain browsers will still search for it (as a first attempt) under the path /favicon.ico. This can be a tiny bit detrimental to the client-side performance, and show up as annoying errors in your logs. So what can you do to serve a favicon under that path too?