Questions tagged [mvc]

For questions relating to ASP.NET MVC implementations. The ASP.NET MVC is a web application framework developed by Microsoft, which implements the model–view–controller pattern.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
447 views

Sitecore 8.2 MVC site setup and Issues

I am creating a Sitecore 8.2 MVC test website and I am getting a couple of errors and client form validation Issues. Get methods are working fine but the post method is not working. I have exact same ...
3
votes
0answers
434 views

Image and link fields rendering as raw values

I'm using Sitecore 8.2 and attempting to render Image and General Link fields as recommended in this post: @model Company.Feature.Foo.Models.FooBarViewModel ... @Html.Sitecore().Field("{123e4567-e89b-...
3
votes
0answers
535 views

Generating JSON-LD structured data for SEO

We are working on an MVC web site where we are following the principles of atomic design, with heavy use of placeholders (including dynamic) and very granular renderings. This site's pages are heavily ...
3
votes
0answers
522 views

Custom route for MVC controller in a market place package is not working

I am working on a marketplace package that services some analytics data via MVC controllers. But when testing I am finding several implementations of DI that cause my route to fail on the site. One ...
2
votes
0answers
281 views

WFFM and MVC validation

When using WFFM with MVC are the validation items under /sitecore/system/Modules/Web Forms for Marketers/Settings/Validation actually used, or are those items WebForms-specific? Does all MVC client ...
1
vote
3answers
127 views

The method 'Concat' is not supported. Declaring type: System.Linq.Queryable

I have two IQueryables that i need to merge. This is my code: such that all results having region name "UK" will appear on top while all results having region other than UK will appear after search ...
0
votes
0answers
24 views

Explore mode GeoIP data not available

In Sitecore Experience Editor Explore view I am facing one issue in which I am not getting any country list in GeoIP section under Visitor information. Below is the screenshot of my page. Please ...
0
votes
1answer
1k views

The type or namespace 'AspNetCore' does not exist in the namespace 'Microsoft' - fix causes intellisense errors for all view renderings

I have a project on Sitecore 9.3 that uses both View and Controller renderings. My view renderings have not had any intellisense errors so far and work just fine after being built. When I built my ...
0
votes
2answers
100 views

Sitecore Version - 9.3 Developer Trial- Assembly Error

I was trying to connect my Sitecore with my VS project. After adding the Sitecore package from NuGet I am facing this issue related mvc versions:
0
votes
0answers
55 views

Rendering causing error in experience editor only on some pages?

I have a rendering that displays fine on our CD servers, and in Experience Editor on some pages, but not on one page, where it's throwing an error. When I check the logs I see the following error: ...
-1
votes
2answers
406 views

Issue sending Base64 encoded image in JSON to Sitecore MVC controller method

I wonder if someone could help or point me in the right direction as a Sitecore novice. I have a Sitecore MVC controller wired up to accept a JSON request. Within this request can be a Base64 encoded ...