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.
You mean regex (regular expression) I'm sure...
No. It is not too much. In a lot of cases checking input with regex the best way (fast and simple), the only thing you have to take care of is to write the write expression...
In your case, the expression tells to pass only chars that are not uppercase Latin letters (A-Z), not comma (,), not space ( ) and not numeric (0-9)...It sounds to me strange, so check it...
Here a nice visual tool to see what expression you are building: http://regexper.com/[^]
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
I am facing Problem in integrating R language with asp.net web application.Currently I am using R.Net but it is using DCOM so its not proper executing in multiple instances of web browser.Please provide a solution
i have been working on multiple file upload control in angular Js and web Api. in my case when user uploads image . i will convert it to byte array and on submit i will post it to the web api.the problem is its working well when image size is less than 800KB above that it makes the whole entity null
Hi plz who can help me, i am trying to use datagridview rows as cheched and the make updated the checked columns in to Emptable
itryed as flows:
For i As Integer = 0 To DataGridView1.Rows.Count - 1
While DataGridView1.Rows(0).Cells("Select").Value = True
sql = "update tbl_EmpDetails set Approval='" & x &"' where eid='"& DataGridView1.Rows(i).Cells(1).Value &"'"
cmd = New SqlClient.SqlCommand(sql, conn)
Is there a tool available that only displays 2d chemical structures especially mol files?
I am facing one issue with Entity Framework Model. I make changes to database and after this I updated production server's copy with my updates with Published Version. But I am getting en error from Entity Framework. So how to update Entity Framework's model as per my database change on production server with Asp.net Published Version site.
After initial deployment of website, in next revision I added few columns in my database and updated edmx file and it is working fine with my local source. When I published website and uploaded code to web server It is showing an error like "ColumnName" is not found in data collection etc..
I assume you're using Database First. You have to manually make the changes to the database yourself, same as you did with your local copy of the database.
Database First is used when a DBA has control over the database design and you have to write code against it. Normally, you wouldn't have access to the database schema in this situation. DBA's would be making these changes for you.
I have a quick query on ELMAH https://code.google.com/p/elmah/[^] It supports by configuration either to choose SQL Server or SQLite. I would like to know if there is a way to choose both (SQLServer and SQLite) to do the logging.
As Angular is a web based technology, I'm not sure why you thought it appropriate to post here in the .NET forum. Saying that, if you want to learn Angular.js, then I would heartily recommend that you take out a Pluralsight[^] subscription. They have excellent videos that will help you learn.
This isn't as easy as you'd expect it to be. At first, you might be tempted to go with a regular expression, breaking each line on .!? but this won't really work because it's common to have sentences that include abbreviations, which end in the period. So, you're going to want to look at using a Natural Language Processor (NLP) to accomplish this. Now, this is a large area and isn't one that you can really answer in a forum. I'm afraid, if you have a requirement to do this, then you're going to have to research which NLP will best fit you.
I have a asmx-webservice. When I try to access it by using the URL directly, I get an error "Requested Format Unrecognized" (I hope the translation is correct; I have a Dutch version). When I try to make a service reference, I get the following error: There was an error downloading 'http://bliep.hulppeldepup.nl/bliep.asmx/_vti_bin/ListData.svc/$metadata'.
The request failed with HTTP status 405: Method Not Allowed.
After some googling, I got to this page https://support.microsoft.com/en-us/kb/330221/nl that tells me that I have to adjust settingsin the firewall to remove unknown headers. Unfortunately it doesn't tell me how, and I can't find the answer anywhere.
The strange thing is, that on the same site I have another asmx webservice that I access through AJAX, without problems. Now I want to do the same thing with a Windows Forms application, and problems arrise.
How can I make my asmx webservice available for my program?
Yeah, but it's a Web Service that runs on top of the ASP.NET framework. The .NET Framework is much lower in the stack and your question is about functionality at the ASP.NET level, not the .NET Framework.
The answer to this is, try them out. Measure their performance for the use cases you have in mind. Your question is far too simplistic to make a reasonable judgement because performance could vary wildly for different use cases. Apart from anything else, you'll need to take into account features such as scaling out the application, how load balancing affects your app, does different parts introduce bottlenecks, as well as defining what acceptable performance is.
In addition to what Ryan said. Web services are generally used to have a multi-tier architecture where web services work typically on the middle tier.
Consider a scenario, where we have a database and a website that fetches data from this database.
Now, you have a requirement that you need a mobile app, that will use data from the same database.
DB---> Mobile Application
You will be re-writing the entire logic to fetch data from DB in your mobile app
To save yourself from such problems. Multi-tier architecture is the solution
DB--->Web Service--->Mobile App
DB--->Web Service--->any other client who can consume your web service
By using this strategy you just have to write you Data Access Layer in web service only. Your clients will have to consume this service and get he data from it.
There are a lot of scenarios where web services help a lot, integrating disparate systems using web services is another example. Google the use of web services and I am sure you will get a lot of stuff related to it.
Last Visit: 31-Dec-99 18:00 Last Update: 30-Jun-15 17:26