Click here to Skip to main content
15,895,746 members
Everything / Server-side

Server-side

server-side

Great Reads

by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
by Sander Rossel
The (long awaited) fourth in a series on web development.
by Ansel Castro
Develop SOLID back-ends exposed through a REST API with ODATA support and DTO mapping using Enterlib.NET.
by Prince Cheruvathur
Step by step development of a Node.js application in Typescript using Express and MongoDB with real-time update using Socket.io

Latest Articles

by Akshay Srinivasan2
Step by step process to deploy Blazor Server-side app to an existing installation of Linux Distro Ubuntu
by Akshay Srinivasan2
The HTML Canvas element allows for Drawing. This article describes how to use it with Blazor Server-side.
by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
by Ansel Castro
Develop SOLID back-ends exposed through a REST API with ODATA support and DTO mapping using Enterlib.NET.

All Articles

Sort by Score

Server-side 

29 Nov 2017 by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
16 Mar 2015 by Sander Rossel
The (long awaited) fourth in a series on web development.
19 Feb 2015 by Sergey Alexandrovich Kryukov
If you did not get it yet, you never "call" any UI-related element on server side. You always do it on client side. Server side can only generate HTML text or part of it (or other resources) in HTTP response, but the UI itself always operates in the browser. What happens when the user do some...
12 Apr 2015 by Rasoul Takalloo
Hi guys,my VNC Server is working right, but it works so slowly and I have a few seconds delay in recieving server's desktop by client-side VNC. I'm using TCP communication bitween server and client, and each frame sending by vnc server is 16Bit. RFB protocol used.how can i improve my...
6 Dec 2015 by DotNetSteve
Not sure that I would classify this as a solution, but I hope it would help you to understand a basic difference between webforms and mvc. A real big difference between the two is the hidden fields which are maintained by webforms for passing data (state) back and forth between the server...
6 Dec 2015 by dobravka
You need to read more about MVC. It is completely different world than Web Forms. Controllers are not codebehind of Views. Controller can change Models and pass it to the View or redirect to another View. You don't just access web controls from Controller and change them.For example if a...
20 Dec 2016 by OriginalGriff
Looking at your other questions, I can't help feeling that you are committing yourself to something way out of your league. This is not a simple task - the major companies in this industry have been working on similar projects for years, with massive teams and significant funding, and have got a...
27 May 2018 by User 7429338
Your JSON is not in a valid format, which is more obvious when you look at the syntax colouring. It should probably be like this: { "Note": "Sa ", "Articoli": [ { "Fornitore": "COMET", "Prezzo": 48.85, "CodArt": "GW.2000", "Importato": "COMET", ...
23 Aug 2018 by Jochen Arndt
A new connection is established when the accept() method called for the listening socket returns. The connection is closed when closing the socket returned by the accept() call. So you have to change the counter at those points in your code. Basically: socket client_socket =...
12 Jan 2019 by MadMyche
Welcome aboard. There really is no set answer to the question as you have only told us that you are a "beginner programmer", but you have not said what languages you are working with. If you are going into (MS) NET Framework or Core, I would tell you to go through the tutorials over on the...
4 Sep 2021 by OriginalGriff
Surely, Admin references Security, which has a report-back mechanism? And Security references Communicator which should report back to it? OOPs principles means that Admin "knows about" Security (because it has to to do it's job) but Security...
19 Feb 2015 by Member 9646334
Dear all, I have code in asp.net c# where I need to call the YesNo dialog in server side. Actually, the code will check the database and for certain condition it will ask the user does he want to continue or not? Now, I have got some functions or java scripts but all are in client side not...
19 Feb 2015 by TheKarateKid
Here is another solution and it works//code similar to following need on button clickif (some conditional expression is true){ mpeConfirmation.Show(); //please make note of this return;}//Following I have defined in Markup and gets...
19 Feb 2015 by King Fisher
Solution 1 is well clear, and i have another option hereAjax confirmbuttonextender[^]http://www.ajaxtutorials.com/asp-net/ajax-control-toolkit-confirmbutton-extender-tutorial-in-asp-net-4-0-c/[^]
19 Feb 2015 by Sujith Karivelil
Is this you are looking for?if (System.Windows.Forms.MessageBox.Show("Do you want to continue","Confirmation alert",System.Windows.Forms.MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes){//do your function here}
27 Mar 2016 by Member 1911428
I need help to implement the answer Google Recaptcha 2.0.I've tried a few ways to recover the response after sending the form but not consigui get the answer True.Follows the example I'm trying:
14 Nov 2015 by C0DE_007
I am new in android development i want to make proper android server based app now like using web view. But i don't form where to start .. how to fetch from server database ... and wht type of server required for android apps how to connect with that server ?? Please help me and please provide...
14 Nov 2015 by Krunal Rohit
You'll get the idea from this article:Connecting your Android app to your WAMP...
29 Dec 2015 by SkyNetCommander
I am currently creating an app that needs a custom web API that stores the following things: business addresses, reviews, image gallery, some audio links to Soundcloud, Spotify and etc., images and exclusive deals with said businesses. Once written I will deploy this to a server so it is readily...
26 Mar 2016 by mohamadMahmodi
hi allmy web page has an optional contact that user can add input text for any contact like cellphone or email,when user click create contact button, it make a input box with attributes like unique id(for example "txtrelat1") or runat="server"(in client-side but web page has an input box with...
26 Mar 2016 by F-ES Sitecore
The runat tag is processed by .net when the page is generated, it has no meaning client-side and adding an element with a runat tag from javascript doesn't make that a server-side control, it simply creates an element with an attribute that is ignored.What you have to do is ensure the input...
27 Mar 2016 by mohamadMahmodi
I want set CSS style attributes of some controls (like input text) just by Request.Form["x"] method in aspx page .cs code ,runat="server" is set for that controls and them is known in intellisense of .cs and them didn't find byform1.FindControl("x")and convert them to HtmlInputText for some my...
27 Mar 2016 by RayFrye
I could never get any of the Google Captcha's to work. I finally found this site and it was a snap to implement.Classic ASP (VBScript) and ASP.NET (VB.NET) Security Image (CAPTCHA) Generator[^]
27 Mar 2016 by Karthik_Mahalingam
Add the controls in an asp panel find the control and cast it var txt1 = panel1.FindControl("txt1") as TextBox; // asp textbox...
21 Jan 2020 by Shobuj.Akash
Currently I'm building a project where I can send Massage to specific connected clients. But when ever I send data it goes to all of the connected client.I've reviewed this code but still confuse how to implement the solution :( .Server Code While True Dim incoming As TcpClient =...
3 Mar 2017 by Member 12763843
i have some functions to fetch data and to post data to server but due to asynchronous nature of angular js the next method start executing before the previous one returns which returns empty string it is used in next functions...i have read a lot articles about promise and $q and non of them...
3 Mar 2017 by Graeme_Grant
Here is a google search that should give you answers on AngularJS asynchronous programming: async angularjs - Google Search[^]
7 Mar 2017 by Member 12999575
// In my home controller [HttpGet] public JsonResult IsUserNameExist(string Name) { using (CobraDBEntities db = new CobraDBEntities()) { var check = !db.Person.Any(x => x.Name == Name);// if we use Person per then per.Name, and so...
28 Dec 2017 by ZurdoDev
As mentioned in the comments, you found a way to get what you needed so posting something to get this out of the unanswered list.
27 May 2018 by rikidev
Hi I have to parse a json formatted as done below! I have to parse two data, one of which is an array! But when I do it, the error below is generated. How can I solve? Node.js Code: app.post("/rapportini/generarapportino",async function(request,response) { console.log("\n Qualcuno sta...
23 Aug 2018 by FerdouZ
Simply I have a java Socket program and I want to count number of clients connected the socket, increment on new connection and decrements when connections are closed. What is the best way to achieve this ? What I have tried: Actually I am getting confused .I want any sample code.
7 Mar 2019 by Member 11026054
I have a web application (an Online store) where it is implemented as an SPA. We have used VUE js in Front-End and now our concerns is about SEO. As I studied the web, CSR (as is used in SPAs) is not SEO friendly but there are two solutions for SPAs: Prerendering and SSR. Is these two approaches...
12 Nov 2018 by mihirpatel83
I have a server with PHP, APACHE and Asterisk service installed for voip based communication. I used PAMI library and created a socket connection using Stream Sockets and created an event listener which connects to Asterisk and listens to events that comes from it. Currently, I am accessing the...
5 Dec 2018 by Member 13740197
I need to hit https url with curl. For this it asking SSL certificate. To ignore this I supposed to use -k or --insecure option with curl command. But by mistake, I forgot to give this option in my project code. So got below error. ============================ Error...
12 Jan 2019 by Grigorii Mordkovich
I am a beginner programmer and has recently gotten interested in web development. I started googling and youtubing about it as much as possible and went from having now idea of how a web application works to a solid understanding of all the basic components, however I still cannot do anything...
7 Mar 2019 by Bohdan Stupak
There is a claim that Google is perfectly fine with JS and there is even a PoC that tests it. Still, server-side rendering is believed to be standard of the industry solution. However, if you can prerender your web page and pass it to the crawler. This Go project should provide you with the...
19 Mar 2019 by Member 14188355
I need to create a server to make a public blog page, using HTML, CSS and JavaScript in my laptop, but I don't have any idea. What I have tried: I know it is easier hosting my page in another website because it's dangerous to open my computer in the internet. But I'm making this for...
20 Jun 2019 by AkhilVarghese
I am trying to call webmethod on ASP.NET web page from javascript page. Occurring 500 internal server error. we have applied loadbalance on our site. we have 3 servers. this 500 error does not occur all time. When I check it, I got the error one time when the server is changed. Is that any...
20 Jun 2019 by Afzaal Ahmad Zeeshan
Quote: what are the main criteria to get the 500 Error? You write a code that has faced most probably a runtime exception. It can range from a null object, to out of index element access, to undefined function call (in case of dynamic languages) all the way to usual but uncommon HTTP protocol...
21 Jan 2020 by Csabatom
Server starts up, and client connects, it is multithreaded, and the main point is to broadcast the message, that it got fro the server. However, when a client disconnects(gets forcibly closed), it still tries to run the ClientListener method(underlined) SERVER CODE: using System; using...
19 Nov 2019 by RickZeeland
See example here, the client.Close(); must be outside the While loop: TcpListener Class (System.Net.Sockets) | Microsoft Docs[^] With a While loop like this: // Loop to receive all the data sent by the client. while((i = stream.Read(bytes, 0, bytes.Length))!=0) { ...
21 Jan 2020 by Doug- VisualBasic VB.NET
When your client disconnects you should get a disconnect event on your server. Use it to terminate the the thread of the client on the server. Then you will not be trying to access it again until it reconnects. However, I am not sure the client disconnect is causing the error. In your while...
14 Apr 2021 by Richard MacCutchan
You were given some suggestions over a week ago at How to connect multiple devices with server using TCP?[^].
6 May 2021 by Varun Sareen
Hello, I am trying to send the image converted into byte data (base64) to ajax method so that the value of the same will be available at server side for me to save the image value in DB. But I am unable to achieve the same. Please help. What...
4 Jul 2021 by Simon_Whale
I haven't tried this so I started with a google django paypal integration - Google Search[^]
6 Aug 2021 by SeeSharp2
It is probably a configuration issue on the network or slowness with your ISP or datacenter. QA and UAT in the same datacenter? There is not anything we can do other than make suggestions for things to look at and try.
12 Aug 2021 by Richard MacCutchan
Quote: i am a beginner. i don't have any idea yet. Your question is far too broad for a Quick Answers forum. I suggest you go to W3Schools Online Web Tutorials[^] and follow some of the tutorials.
4 Sep 2021 by Eugene Rutsito
I'm developing a server-side project in c#. The project is like so, it has 'Admin', 'Security', and 'Communicator' which are all independent projects (class libraries). The Admin module handles all the client-side requests. If the request comes...
14 Oct 2022 by Andrew Kim 2022
here is my html code:
11 Jul 2017 by Ansel Castro
Develop SOLID back-ends exposed through a REST API with ODATA support and DTO mapping using Enterlib.NET.
28 Mar 2016 by Prince Cheruvathur
Step by step development of a Node.js application in Typescript using Express and MongoDB with real-time update using Socket.io
9 Dec 2015 by Sergey Alexandrovich Kryukov
Yes, of course, but you should better use separate threads for that. Your listening thread needs to use blocking calls to listed, and a thread already having a connection and writing to a network stream or reading from it is blocked by write or read operations. So each such activity should be...
6 Jan 2016 by Member 10783356
I want to make the data at one plae from two different table in one query i have to make the use of pivot and in the other query i want to sum up the total of the bill of thr same customer name which is coming from table 1 table 1 Queryselect Cname,Advance,Bill,Refund from (select...
3 Jun 2020 by Akshay Srinivasan2
Step by step process to deploy Blazor Server-side app to an existing installation of Linux Distro Ubuntu
3 Jun 2020 by Akshay Srinivasan2
The HTML Canvas element allows for Drawing. This article describes how to use it with Blazor Server-side.
14 Nov 2015 by Afzaal Ahmad Zeeshan
Just make a network request with HTTP protocol (if your server accepts HTTP, otherwise the one that is supports), fetch the records and display them. That is how a Client-server application model works. If you are going to use a WebView, then you can ignore these requests and simply send a...
8 Dec 2015 by Member 11543226
I have form 2 class to handle connected clients, and i have datagridview in that i added one button column and now i have to do is what , send data to connected client without clients request, the data which need to send to client is in another method other than dgv event. public class...
8 Dec 2015 by Sergey Alexandrovich Kryukov
You did not show where the exception with the message "Object reference not set to an instance of an object" is thrown. Not to worry. This is one of the very easiest cases to detect and fix. It simply means that some member/variable of some reference type is dereferences by using and of its...
21 Jan 2020 by Doug- VisualBasic VB.NET
This seems to be how you are gathering you clients. How are you defining the client to send the message to?
17 Jul 2023 by Mohammad sajjadi
07/17 13:07:29: Launching 'app' on Pixel 6 Pro API 33. Install successfully finished in 1 s 677 ms. $ adb shell am start -n "com.example.soccergamedevelopmentproject/com.example.soccergamedevelopmentproject.MainActivity" -a...
5 Dec 2015 by Member 0123456789
I have tried the Visual Studio Create New Website option where you can write in a two main text files - one with extension cs for the c# code and one with aspx for the html, css, javascript and ASP markup code. You can easily access the html controls from the cs code when you add a property...
8 Dec 2015 by Momoko Asahina 708H
As title. I am developing a server-side program to listen for incoming socket connections via Port X, and send data via Port Y. I may receive a string from machine A via port X, and must send processed result to machine B (or back to machine A in some case) via port Y.I felt sad because I...
1 Jan 2016 by MIke Kalist
I would like a Pi Website for audio. 6 buttons (maybe more)Each button launches a server side command.button 1 on click /var/www/cgi-bin/christmas.shchristmas.sh = #!/bin/bashstop.shmplayer -loop 0 /home/pi/Music/christmas/*button 2 on click ...
1 Jan 2016 by Sergey Alexandrovich Kryukov
Please see this CodeProject article: Raspberry Pi as low-cost audio streaming box[^].—SA
28 Dec 2017 by Sathya5995
Server-side validation: Using [Required] attribute it's to validate the text field, but here, checkbox value decides the text fields should exist or not. So, if attributes used for validation, it throws an error. It can be accomplished in client-side. But I have to validate this from...
15 Apr 2021 by Member 14743579
Here is my updated code which is used to established a multiple connection and send data to device/client from server but my server does not receive a data from client, how to solve this issue please help me to solve this issue. What I have...
6 Aug 2021 by sencsk
We are implementing angular SSR for our website SEO purpose. All the integration then node &inode installation everything done and site is working fine in UAT and QA environments. when we move the patches to production environment we are facing...
16 Jul 2023 by Mohammad sajjadi
I'm trying to set a connection between 2 devices. As a matter of fact, I'm writing a game application, and I want to run it in 2 devices. One of these devices is a virtual device, and the other one is my phone number, a physical device. I need to...