This project write in Silverlight and used Telerik open access how to access data in WPF? how to port data access in Silverlight to WPF.
If anyone wishes to help can I upload the source.
Thank you for the help everyone.
You could continue using the model defined in the CRM.DataAccess as a data layer in your application without modifying it.
If you want to consume the data using services, you could use the Add OpenAccess Service wizard to generate the needed service. It will generate for you the necessary service code.
Related
I have developed custom form builder type application using ASP.NET 3 years back. Now working on new project and it has similar requirement. I think there must be something new and easy to do same thing using MVC4 or ASP.NET 4.5 web forms. Any pointers?
Requirement in detail,
This is a web application
Authorised users login to web site and given the option to fill in the form
This form captures the information which then sent to third party
Third party keep reviewing their system and may ask for more details in future
My application needs modification to capture this extra(or say changing) information
Is there any way I can change only DB model to accommodate these extra fields and they will automatically appear on form without any code changes to UI or BL level?
I am not too sure what you are trying to accomplish but maybe this could help ?
http://lostechies.com/erichexter/2012/11/20/twitter-bootstrap-mvc4-the-template-nuget-package-for-asp-net-mvc4-projects/
Look at how they automatically generate the bootstrap views depending on which view model get's passed.
I'm fairly new to VB.net programming. I'd like some suggestions for methods/procedures for sending real time data from a VB.net app to a web server (asp.net) for real time display. My question relates to the best method to send the data from the desktop app and the best way to receive and handle the data on the server. I'm not asking for sample code, just some idea of what methods to research. I am currently using a text file upload method but I'm sure there is a more efficient way of achieving this. Thanks in advance for your help.
For sending data to the server, you may research about webservice or WCF.
http://en.wikipedia.org/wiki/Web_service
http://msdn.microsoft.com/en-us/netframework/dd939784
For retrieving data from the server to your ASP.Net application, you can research about AJAX.
http://www.w3schools.com/ajax/default.asp
http://api.jquery.com/jQuery.ajax/
If you are using the MVC framework for ASP.NET (which I strongly recommend over WebForms), MVC4 which has recently gone into RC mode features a very nice new web API:
http://www.asp.net/web-api
"ASP.NET MVC 4 includes ASP.NET Web API, a new framework for creating HTTP services that can reach a broad range of clients including browsers and mobile devices. ASP.NET Web API is also an ideal platform for building RESTful services."
It allows you to define quite simple methods on the server which work directly with your actual domain objects and it does the work of returning data in an appropriate content type (e.g. JSON, XML) based either on the incoming request or a specific configuration you may set.
Your web app could then poll the GET methods on the same API controller class via Ajax (jQuery is nice) to display the results.
I don't know a lot about flash, but I do know asp.net and javascript, and c#, etc.
I have designed some screens in flash that will be loaded up on a plasma tv. What I need to be displayed in the screens I designed is data from my sql database.
Assigning the values to the boxes is no problem, but what is the format I should use to connect the flash screens to that database. what would be the main lines of code?
Thanks!
Basically, create a web service (asp.net would be good), and the flash make http request to the web service to get the data.
Flash is executed on the client side, and thus won't have a direct connection to the database. You'll need to write some C# server-side code to handle the database connection.
I have written a simple database driven app in C# which uses a 2 table MySQL database. This is all a learning curve for me (except c#, which I am now comfortable with)
The app is small, has a couple of datagridviews, uses a few sql select/inserts statments to populate the datagridviews and also update records.
I want to port this app to Android. All of the internet sources I can find recommend a middle php sript which accepts http requests in order to fetch the data from MySQL and then return the results back to the android device where it is parsed with JSON etc etc.
This method is a little out of my reach since I dont have php experience, all of my attempts to implement the php layer have failed, speciially the android app was not receiving any data back, I'm assuming I messed up somewhere inside the php file.
Is there an easier (more noobproof) way to interact with the MySQL database from within android which doesnt require the need for php + JSON? Any ideas are appreciated, thank you in advance.
If you are comfortable with C#, why not use ASP.Net MVC for the middle man?
MVC is especially easy to deal with JSON, and you actually only need to create those "controllers" (as models should already be there from your existing app, and JSON don't need the View to display).
You can create a Web Service with C# that handles the data retrieval from the database; no need to go with PHP. Try create one with WCF API (check this question in order to create one). In order to create an Android client that consumes JSON on Android check this link.
If your mobile application have to access a database over the network you should indeed build a web service fronted to the database.
By putting a web access layer on top of the database you can expose the required queries in an abstracted, secure and convenient manner.
Though this sort of web service architecture can be implemented with PHP + JSON other technologies can be used as well. If you feel more comfortable with C# you can use it to build the web service instead. By doing so you may even be able to reuse some of the code from your existing application.
Actually, it would be better to take php in middle of android & mysql, due to the security concern and by the way this is the most easiest & comfortable method. here is link link. I hope you like it.
All,
We’re building an intranet on Sharepoint 2010. One of the requirement is to have a custom webpart/sharepoint page as a view to an Oracle EBS and HRMS.
This view have little (if at all any) interactions with Sharepoint functionalities.
This view is pretty complex in terms of layout, so we will definitely benefit of using asp.net user controls, rather than building all controls programmatically.
All operations lives in a WCF service which encapsulates all calls to Oracle.
Here are initial ideas:
Control.Load through a WSP – is this still valid with Sharepoint 2010?
use SmartPart to encapsulate the user control
Other ideas? Stand alone aspx page perhaps?
I would be keen to know the pros and cons of the approach. Cheers
Simplest solution might be to use the Visual Web Part -project type in Visual Studio 2010. It allows you to build Sharepoint Web Parts like regular ASP.NET User Controls. Because of Visual Web Parts SmartPart is no longer needed in Sharepoint 2010.
You can consume the WCF service in the web part or you could use Business Connectivity Services to create External Lists and use the Web Parts to interact with those lists.
If you are familiar with Silverlight I believe you can also use that to build the UI for your Web Parts.