we want to have a tray windows application for our SharePoint users that they cant work with ms-access view or SharePoint workspace ... (this program should alert personnel with our custom alerts and they want customized small user interface for those end users.)
I use this article and this article and write a simple code for Feasibility of this solution. but after build, this client side application seems to work only on that dev server.
we try it on the windows 7 and after 24 times that it need dlls like below list.
Microsoft.BusinessData.dll
Microsoft.HtmlTrans.Interface.dll
Microsoft.IdentityModel.dll
Microsoft.Internal.Mime.dll
Microsoft.SharePoint.AdministrationOperation.dll
Microsoft.SharePoint.Client.dll
Microsoft.SharePoint.Client.Runtime.dll
Microsoft.SharePoint.Client.ServerRuntime.dll
Microsoft.SharePoint.Diagnostics.dll
Microsoft.SharePoint.dll
Microsoft.SharePoint.Dsp.dll
Microsoft.SharePoint.Library.dll
Microsoft.SharePoint.PowerShell.dll
Microsoft.Sharepoint.Sandbox.dll
Microsoft.SharePoint.Search.dll
Microsoft.SharePoint.Security.dll
Microsoft.SharePoint.xml
Microsoft.Web.Administration.dll
Microsoft.Web.CommandUI.dll
Microsoft.Web.Design.Server.dll
still has another dlls.
Microsoft.sharepoint.intl.dll
Microsoft.SharePoint.CoreResource
that 'Microsoft.SharePoint.CoreResource is not exist in windows 2008 sharepoint 2010 dev server.
I know that this is not standard way to deploy it and I want to understand more and brief about standard way to deploy and develop it on the clients.
I know that should my server has sharepoint 2010 64 bit but my clients are windows 7 32-bt. is this my problem?
You cannot use server object model, only Client object model if you are running the application on a non-SharePoint server.
Server object model only works on the servers.
Please take a look at the second link
You only have to reference Microsoft.SharePoint.Client DLL's.
Related
I'm pretty new to this.
I have a c# blazor project which is using SQLite Database on .Net6.0
I'm trying to turn this into a windows service, so I can run it on a windows server (Win 10).
I followed steps here
but when I try running the service via "Windows Services" on my local computer, I get this error:
Windows could not start the service on Local Computer. Error 5:Access is denied.
and on the windows server it starts and immediately stops.
I checked Event Viewer and there wasn't any details about why that's it.
Do you if I need to do more stuff for it to run? specially DB wise?
I can't find good info on internet :(
I fixed it.
So, follow the link and it should work. I had some other problems with IP and Port.
and just that you don't need to change anything for your DB. You probably need to add an automatic DB migration which you can find it here.
I'm trying to get into Android and iOS app development using Visual Studio 2015 Community, but I'm having some trouble figuring out a way to do it securely with the tools provided in Visual 2015 Community.
And just to clarify, I'm not asking if I can develop native Android or iOS apps in Visual Studio.
The apparent c# Android and iOS support in VS 2015 is a bit misleading because it requires a Xamarin license, now I know that VS 2015 Community has Android and iOS support via Cordova using HTML5, CSS3 and JavaScript so I'm leaning towards using that as it appears to be my only option. I'm quite familiar with c# and SQL but have limited experience with HTML and JavaScript and nothing else beyond that, and I also understand the security concerns with JavaScript, so now I'm not really sure where to go from here.
The project I'm planning to work on is a personal project that only I will use, it's a personal password manager app that I want available on Android, iOS, Windows and also a Web App. The Android, iOS and Windows Apps will all connect and sync their data from an SQL server, so they will need to securely transmit the data and securely cache it locally. I'm not concerned about the Windows App and I'm planning to use ASP.NET for the web app, but I don't even know how to start with Android or iOS if the only tools available to me are HTML5 and JavaScript.
I've checked out a lot of forms on here regarding "Securely connecting to a SQL server with JavaScript" and the replies are always "Don't do that!!!" followed with "Use a server side process like PHP", it's the latter that I'm interested in, but I don't know where to look for tutorials or references in context of using Visual Studio as my development platform.
So my question is, is there actually any way to create an HTML/JS app with the tools provided in VS 2015 Community to securely send, receive and store sensitive data? Is it possible to lets say use a c# class to securely handle the SQL communications and local caching and just call the c# methods from JS and do this securely? Or is using a server side process like PHP my only option? If so, then my Apps would not be able to securely cache data locally, would they.
Your app on mobile device can be safely developed with JavaScript and HTML if you don't want to buy a Xamarin license.
When they say you should not use JavaScript to connect to database, they simply mean your mobile app should not talk to the database directly. Instead, you should build a web service using PHP or ASP.NET Web API or node.js (which uses JavaScript if it surprises you) to act as a proxy between the mobile and the database. This web service can help you achieve better security control if you do follow the best practices.
I am trying to make a front end for my friends VPN Server hosting company. I have made most of the application with WPF and it is working as a standalone product. It downloads the server list from his website with JSON and populates the selection contents, does ping tests, and so on.
Now I am at the stage where I need to actually make it do something - my options seem to be OpenVPN or SoftEther.
I have tried to build OpenVPN as they recommend with VS2010, and SoftEther with 2008 Professional. I am really struggling to get a working build out of either, when their websites say it should just work if dependancys are met.
My understanding here is that I need to build the client from either of these 2 options as a dll, which I can then use as a lib into my C# Application and call any public facing connect functions and pass in the username and password entered in my GUI.
Am I on the right chain of thought? Has anybody out there successfully integrated OpenVPN or SoftEther into their own products?
I should mention I am totally lost with OpenVPN, but SoftEther builds for the most part but the installer is half empty and the drivers wont install for the virtual adapter either. Of course I can install them using the prebuilt binarys on the respective websites.
This isn't exactly a code question as much as it is an advice question. I currently working on a program for a small business. This program does a multitude of things from updating their local access database, edits and updates Word and Excel docs, etc. Now I have the WPF/C# based program running on a Windows 8 computer but they would like to be able to run it from multiple computers. My first instinct was to make the project again as a WPF Browser application. My questions is how would one set something like that up? Would I have to dedicate a computer with special software to handle just this program, the database, and their documents? Any Suggestions or tips would be greatly appreciated.
It doesn't have to be a WPF Browser App to run on multiple PCs. I suggest using Click Once deployment, where all users automatically get the latest version from a shared folder on an office server or just one of the other PCs in the office.
If they want all of these instances of your application to connect to a common data source or sources, then you will need one computer that hosts the server application and its database (you'll now have 2 projects: the server application, which might run as a Windows Service and have no UI, and the client application, which is the WPF app).
This computer be an existing Windows server in the office or it can even be just one of the PCs in the office, but that PC must be kept on for others to use the app and if anyone reboots it in the middle of the day others could lose some of the data they were updating.
Fundamentally, you need to alter the WPF application so that it fetches and sends its data from/to the "server," most likely using WCF services.
It is a lot to digest, but in incremental steps you can get there. The biggest hurdle will be getting your first successful WCF communication between server and client. Once you cross that threshold you'll be well on your way!
So I have zero experience with deploying software or putting something live. The situation is like this:
I have developed a dashboard web application on a laptop. This application uses a microsoft SQL database that also runs locally. When I run it, it's a localhost address. Now, I need to be able to access my web application from other PCs within my company's network. This way I can do some user testing. What are ways to do this? I searched and things confuse me to no end.
I use:
.NET Framework 4.5
Visual Studio Ultimate 2012
IIS7
Thanks
There are a few things you'll need to do to make your local application visible on the network. I'm assuming you want your app running on something like http://foobar/myapp where foobar is the name of your machine
Here is what you need to do:
Add a URL reservation so your machine will allow IIS to serve content on the url http://foobar/myapp
Create an inbound rule in Windows Firewall to allow incoming connections on port 80
You can find the exact commands you need to run on Scott Hanselman's excellent blog post. Of course, he's focusing mainly on getting SSL to work with IIS Express, but it has enough pointers to get you going, too.
look at msdn.microsoft.com
you can learn about:
Prerequisites
Creating the Web Site
Creating a Test Page and Class
Publishing the Web Site
Testing the Published Web Site
Next Steps