1. 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...
  2. 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 Is there anything we cannot do with but can do with windows form? I am thinking of turning to the web field later. What kind of roadmap...
  3. 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...
  4. aadi56

    Resolved Please help me with and mongoDB

    I am trying to make employee registration page in 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...
  5. 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
  6. 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
  7. 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...
  8. 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: It includes various topics like C# Programming Language, Multithreading and Asynchronous Programming, Design Patterns and Principles, SOLID, Distributed Systems and Microservice...
  9. W

    Column Data Entry

    I have a below table structure. I am using c# and 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...
  10. 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...
  11. 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;}...
  12. 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...
  13. 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 grid views with data tables. [] About our Current ASP.Net Grid view: We Use Same Grid view for Rendering Data, and also we allow...
  14. 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...
  15. 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)]...
  16. 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...
  17. J

    Question Wpf, mvvm, &

    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...
  18. 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() {...
  19. M

    Question ASP.NET - maximum length exceed error

    Hello, We are facing error while exceeding maximum request length. It appears when we send request to server. If anyone can help to fix it then please do the needful. Thank you
  20. R

    Question Beginner looking some advice/ answers :)

    Hello everyone, I'm just starting to get in to coding and using C# for some projects and I'm just looking some advice as to what would be the best way to approach a task ive been given.... Basically my task is to help build a sort of University module help centre where lecturers etc...
Top Bottom