Small server application - c#

I'm interested in programming a small server app that I can use to convert an old laptop into a home server. I don't think it needs to be too complex, I just want to be able to download my music and such onto other devices. My questions are:
Could I do something like this in C#?
Is it possible to set it up in a way that I can connect my mobile devices to transfer pictures and music?
Are there any references that might help me with this? (Books, articles, etc.)?
I'm fresh out of school so my experience is minimal, so I'm sorry if these questions seem obvious. Also, my mobile devices are all Android, two of my PCs run Windows 10, and the one I want to act as the server runs Windows 7, but I can upgrade that if it will simplify things. Again, sorry if the questions are a little basic and thanks for taking the time to read.

Related

Differentiate between different devices

How do we differentiate between the following devices in ASP.NET (C#)?
Mobile
Desktop PC
Tablet
E-Reader
I am pretty new to making mobile websites, but I have always made sure existing sites work great on mobile devices. The problem I face now is that I actually need to make different versions for all these devices, and I have not been able to do much research on this as there appears to be not much information that I can find regarding this issue.
The only things that popup are things like Mobile website generators etc. Definitely not what I'm looking for.
You must look at responsive design templates, it is suggested by many because it is always hard to adapt the website according to each device.

How can I set my application to run on the High performance GPU by default?

Nowadays a good deal of laptops come with 2 GPUs - a high-performance one and a power-saving one (less powerful). Most of the application, which I use on my laptop run with my integrated(power-saving) GPU, but still some of them are set to open with the high-performance card. I am trying to config the app which I am building to run on the high performance GPU by default, but I can't find any information about the topic anywhere. I hope that someone can shed a bit of light onto this. I will distribute my application with an NSIS installer and I guess that I'll have to add the path of my application to a list of applications for NVidia/ATI cards. The application is programmed in C#. Also, does anyone know how things stand with desktop PCs? What happens if a PC has 2 GPUs and I have to choose the more powerful one?
Milcho

Synchronizing between PC app and Android app

I have encountered a difficulty while trying to figure out how certain aspect of my program will work:
(There is no code written at the moment, only concept).
I have a PC application which I want to build with C#.
In addition I have few android devices with my java application on it, which will be dependent on the PC application but will have its own functionality.
The android application will have to read data from the PC application and vice versa as well.
At first I thought creating a server which all applications will read from.
But now I'm thinking maybe there is a easier, less complex way (since I have no idea about accessing to servers and I'll have to learn the entire thing) - creating a network and shared folders - now the PC application will save his data at the shared folders and the android application will read the data from the shared folder, every 5 minutes or something like that or create a listener that will update the application upon any change made by the PC application.
The android application will have to do the same, save his data at the shared folders and let the PC read from the shared folder.
Basically, this is my idea, now my question are:
What do you think about the implementation of the idea?
Is it possible to access shared network folder with android device?
Is it possible to add android device to home network?
The combination of C# PC application and java will be alright?
Thanks in advance.
Answer of your questions :
This idea in implementable surely
I do not know for sure , but it should be .
Yup , it's very much possible using a WiFi connection.
This will not a problem as you have to use Webservice/Socket Programming (i will prefer for socket) where multiple platform is not a problem at all :)
Happy coding :)

A lan pet Project

Its an idea i have had for many years and i want to finally start doing it.I am still a newbie , but i have enough experience to understand new things.The basic idea is this.There will be an animal.A spider for example, which can run across systems connected in lan.It comes and sits in one computer, and if the user nudges it it crawls away to visit a nearby or random computer, where it stays until nudged again.That's it.
Now i want to know the following things
1)Which languages are best for this one?I have some knowledge of C# and java.I can do flash animations also
2)What all should i search for to get started?
Its a nonsense project and has no use to anybody.But i will get immense pleasure if i see it work.I will be posting more questions as i progress.
This wouldn't be too difficult in C#. You could create a program (or service) that runs on the systems across the lan, and use WCF Discovery to find other copies of the program running on other systems.
When you want to make the spider move, just see which other systems are available, and send a message to that system that you want it to go there. You'd then make your spider crawl away, and on that system, crawl into place.

how to send and read SMS from mobile attached to PC

I am building a Windows Desktop software that will respond to SMS request and sending a SMS as reply automatically.
The software is ready and working just fine but it works only and only with Nokia Mobiles and the prerequisite is that Nokia's PC Suit has to be installed first before my app can work.
But now my customer wants to change his mobile so he wants me to change programming so that it works with any mobile.
I am at loss as to how to do this?
Can someone please help me here. I am ready to recode the whole app if required.
My preferred platforms are Delphi, VB.NET and VB6.
There are extended AT commands that you can send to your phone's virtual serial interface that tend to work well on many phones. See this for more info: http://www.developershome.com/sms/howToSendSMSFromPC.asp
Now all you need to do is find serial drivers for the supported phones. This used to be really simple, but is harder these days. Bottom line is, it is probably your best option.
"Any mobile"? That's a tall order. I'm not sure your customer knows what he's asking for. Different types of phones are different and there isn't some way to make the same program run on all of them.
What you can do, though, is make it run on any supported mobile. You can keep most of your existing PC-side code; only the part that talks to the phone has to change. Encapsulate that into some sort of interface in a separate module, and that's your specific code for talking to Nokia phones. Your app now supports Nokia.
Then figure out how to do the same thing for an Android, or a Blackberry or an iPhone. Build those specific parts into their own modules that all implement the same basic interface. With each new phone type you figure out how to talk to, your list of supported devices will grow.

Categories

Resources