why I cannot find my website in google search when search in Arabic language?
I cannot find my website when search in google and using Arabic language .
I cannot find my website when search in google and using Arabic language .
I have followed the book of Adam Freeman to learn about ASP.NET MVC 5. I have implemented the repository pattern as described in the book. I’m using WHERE and log the SQL commands with the SQL-EventProfiler, then I will see no WHERE condition.
Usually I add new database entries with a “Create” form, just like the template you are given like this:
Im new to asp.net Core and i’ve stumbled upon problem with my routing/Controller. Not sure which one is faulty. Overall I don’t know how to set up multiple controllers for multiple .cshtml files which will allow me to move between pages or do simple CRUD operations. I’ve created standard Web application project. My Project schema looks like on picture before.
I have a ASP.NET MVC 5 app where my business users require to enter a < (less than sign). For their specific business segment the < is a common used sign. I know about the problem of XSS-Attacks, but I’m trying to find a solution to allow just the < without opening XSS-Attacks. I DON’T want to allow HTML, so I don’t what to set [AllowHtml] or disable the validation rules. They should be turned on.
I am a beginner in ASP.NET Core 3.1 and i am creating this application with EF Core tutorial from Microsoft site, when i try to create a new Job and store Photo, Photo attribute says null on database, i don’t know why?
I used debugger to see if image is coming to Create method in controller and IFormFile Image parameter says it is null.
I have an ActionMethod
[TestMethod] public async void Select_getallTask() { //Arrange IEnumerable<TaskToDo> list = new List<TaskToDo>(); var mockrepo = new Mock<ITaskToDoRepository>(); mockrepo.Setup(x => x.GetTasks()).Returns(list); //Act var data = mockrepo.Object.GetTasks(); //Assert Assert.AreEqual(data, list); } this gives me error on mockrepo.Setup(x => x.GetTasks()).Returns(list); Error: Severity Code Description Project File Line Suppression State Error CS1503 Argument 1: cannot convert from 'System.Collections.Generic.IEnumerable<ToDoApp.Models.TaskToDo>' to … Read more
** UPDATE Jan 27, 2021 **
I have been working with Microsoft on this issue and we did a request trace and reviewed the FREB log and confirmed that the code is outputting the correct headers but in the END_REQUEST handler they are replaced with cache-control private. After building several virtual machines from scratch we learned that out of the box, this problem doesn’t happen. However when we install the latest version of STACKIFY AGENT (4.29.29) once we put the agent on this behavior happens. Older versions of Stackify agent (RETRACE profiler and APM) don’t do this, but so far, this is irreversible: once we install 4.29.29 of Stackify, uninstalling or installing older versions doesn’t undo this issue, the environment is somehow permanently modified.
The following code works in my local machine while debugging but throws an error when published to a server.