For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
It's for your unit tests, it shows you how much of the code you are executing during your tests, and which bits of code are not being tested which allows you to expand your tests in order to ensure you test everything.
When developing a website under ASP.NET 2013, it was possible to open a "mobile phone" from one of the pulldowns to see what the new website would look like in a variety of phone types. I think that was available from a phone SDK that I had installed.
I have been searching for something similar for ASP.NET 2015 but without success. Does anyone know if something similar exists?
I'm kind of new to MVC (been programming for about 6 months), I'm looking for some help trying to learn standard coding in mvc, I already have my model and classes separate in another project but what I'm looking for is things like exception handling, standard view messages for example I have a class called returnMessage and through this I send anything I want back to my view (in ViewBag) and display it there, so if you could guide me thought or give me some articles to read that would be fantastic.
My advice would be to get a book on MVC and just go through it. The ViewBag is ok, it "works" but it's not really best practice, you'll want to use models to pass data to your views as they are strongly typed and can contain the logic they need. Obviously no-one can explain all of the issues and standards to do you in a forum post which is why it's best to get a book on MVC as that should take you through everything you need to know.
You may check coding guidelines rather than standards that will help you learn and make feasible application highlighted points are as below - DO separate the model its own project with a distinct assembly - DO put all business logic in the model. - DO put all validation logic in the model - DO define interfaces for data access - DO put all session logic in the model - DO put HTML in Views and Partial Views (not in a controller). More you can get on This link[^]
I am getting the below errors frequently whenever any deployment or after 40 minutes I am getting the below error only in UAT environment. But not in Production Environment . All codes are same in UAT and Prod.
Please suggest any solution
Could not load file or assembly 'vjscor, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'vjscor, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Line 38: Line 39: Line 40: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> Line 41: Line 42:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'vjscor, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
I need to enable my admin user to change access permissions for users on the fly, such that they can create new Roles and add permissions to those Roles and assign that role to any user at run time.
I don't want to 'set' the roles during development, as in [Authorize(Roles="Role1, Role2")] etc because after development if i add roles to any user then again i have to recompile the code and copy the changed dll to project bin folder.
we often hard code the role name with authorized attribute but what if i need to do this kind of association at run time in asp.net mvc project. is it possible please discuss all your thought.
i have seen your have good control on role base access system development. so please guide me how can i add roles to action or controller at run time.if possible please discuss this topic with sample code.
For this, either you will need to store those entries to localStorage db, otherwise have a database working that will store the data entered on those 2 pages.
Then load that data from database, to show on a single page within GridView table. If you are having some sort of storing mechanism, consider sharing so that I can guide you specific for that — Session, localStorage, SqlConnection... What?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Hello, I am storing data in database. Program is like x1 is asking for some info. X2 and X3 has to provide those info. database has table in which approx 20 columns are present. 5 columns are used by x1. x2 and x3 have to access rest column. three pages for x1,x2 and x3 has been created to access same table.For X1 this is insert command and for x2 and x3 update command has been used as per selected row to fill the entry.even if i use labels to get the entry of X2 while putting entries by x3 through text box and try to add both entries,this is not working. when x2 enters in same cell entry of x3 gets erased and vice versa. this is whole problem . please guide
Last Visit: 31-Dec-99 19:00 Last Update: 16-Jan-17 8:33