asp.net

  1. james

    System.Net.WebException: The remote server returned an error: (403) Forbidden

    HI. sir .. Can anyone help me to resolve it ? :ROFLMAO: (C# , HttpWebRequest) Why can't I crawl the data of this page ? System.Net.WebException: The remote server returned an error: (403) Forbidden ------------------------------------- HttpWebRequest request =...
  2. sachin Shrestha

    What is Guidline For Vertical Spacing in c# When to do it asp.net actions

    Guidlines for Vertical spacing in c#
  3. Siwar Ha

    edmx in .net core

    im new to .net core and im trying to add edmx to my project and this is not available for .net core i want to know if .net core is always code-first and i need to write all by code ? I have 3 layers for my application : 1. DATALAYER 2. SERVICELAYER 3. AND API All in .net core what...
  4. Nick...

    Starting C#

    My first question is where can I learn C #. Note: I know programming logic and have some progress in C #. My second question is windows form or asp.net? Is there anything we cannot do with asp.net but can do with windows form? I am thinking of turning to the web field later. What kind of roadmap...
  5. codify

    'Incorrect syntax near the keyword 'into' in button code of webform

    So this is the update button code of my webform. Its giving this error at "comm.ExecuteNonQuery();" . How ever button1 which had insert operation showed no error with this. protected void Button2_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection("Data...
  6. aadi56

    Resolved Please help me with asp.net and mongoDB

    I am trying to make employee registration page in asp.net with database as MongoDB. What I want to do is to have the unique email id, when a user tries to register with a email id it should show that email id already exists in the database I am not able to figure out how to do this in MongoDB...
  7. Sriram

    Can we auto generate nunit test cases in Visual studio 2013

    I have to write nunit test cases for the huge application made of aspx.cs files tat too in Visual studio 2013 professional , can I auto generate the test cases if possible with this version or any other better ideas to write test cases, as it contains more number of dependencies & complexities
  8. Sriram

    Question Nunit testcase Creation & integration

    We need to create nunit test cases for ASP.NET application. For example we need to write a test case for login page do we need to create the test case file within the solution or in different solution & then how we call the source function in the test case file
  9. Merit

    Question Customizable keybinds

    Hello all, So basically, in my programming the user can press the default key that i have set, which is F1, to enable a feature. However, i want the user to be able to change this key. so for example, a dialog pops up and asks them to enter the key they want to set for that feature then it...
  10. S

    Highly Detailed Roadmap for .NET WEB Devs

    Hi guys, I'd like to share with you a Highly Detailed Roadmap for .NET WEB Devs: https://youit.pro/map/dotnetweb_en It includes various topics like C# Programming Language, Multithreading and Asynchronous Programming, Design Patterns and Principles, SOLID, Distributed Systems and Microservice...
  11. W

    Column Data Entry

    I have a below table structure. I am using c# and asp.net to achieve this but did not get success. Empcode Itemcode category city sales I have created userid and associate category and items with it. I would like to create a form below for data entry when user log in. I have also associated...
  12. E

    Question NEEDED TOPICS Web App development

    I am new to ASP.NET. I have been coding web apps in PHP for seven years now. Due to its pitfall, I desire to switch to more robust web app technology. I have viewed some free videos on YouTube: C# ASP.NET MVC for beginners by Josh Hamedani, but I don't still know the total topics I need to...
  13. I

    Dapper Extensions - Methods not accessible by MySqlConnection

    Hi I installed Dapper and Dapper extensions from the NuGet package Manager but I'm not able to use methods like Insert, Delete, etc... Is there something amiss in my project. I have a model using Dapper; namespace TBT.Models { publicclassCategory { publicintId{ get;set;}...
  14. I

    Add form in View at runtime

    i want a form containing a text bar to appear when comment is clicked <li><a href="#" id="comment">Comment</a></li> I couldnt do it using razor so I tried writing a Jquery script <script type="text/javascript"> $('#comment').click(function () { $('div#txtcmd').html...
  15. Y

    Can i Have Dropdowns inside the Gridview for a column in DataTable

    Good Day I am a .Net Developer, Currently we are using ASP.Net Grid view’s, because of the features,etc. we want to Replace existing asp.net grid views with data tables. [ https://datatables.net] About our Current ASP.Net Grid view: We Use Same Grid view for Rendering Data, and also we allow...
  16. Y

    Question Web application did not enforce a content security policy

    Hi I Have a Security Issue on my Web Application. My ASP.NET Web application did not enforce a content security policy. This could potentially allow an attacker to insert malicious, executable content into the application's responses. CSP is currently supported by most modern browsers, with the...
  17. I

    Regular Expressions

    Hi, I wrote a regex to check a phone number format in my view-model but it always raises an error no matter how the number looks like. I want it to be in either of these 2 formats 05XXXXXXXXX 02XXXXXXXXX [DataType(DataType.PhoneNumber)]...
  18. T

    Tip Sending SMS using TheTexting SMS Gateway with C#

    Sending SMS using TheTexting SMS Gateway with C# By Ahmed Introduction: In this article, I will walk you through a fast and intriguing approach to send SMS utilizing straightforward C #applications. I make it as simple as feasible for you so I have made both the windows and web demo...
  19. J

    Question Wpf, mvvm, & asp.net?

    Okay, I am a beginner so I am going to apologize ahead of time if I don't use the correct terms. I've been looking around for answers on google and seeking help for a while now, but I am having a hard time comprehending this considering I am more of a visual learner. Alright, well here is my...
  20. N

    Question Printing text file contents on a console using HTTPClient

    How do you print a Text file on a console application with formatting like below in HTTPClient in C# Language? Here is how my textFile looks like: Hi|Fine! Here is all my code: using System; using System.Net.Http; using System.Threading.Tasks; class Program { static void Main() {...
Back
Top Bottom