Using Ext JS in ASP.NET [closed]

2020-02-17 08:13发布

I don’t have advanced knowledge in JavaScript, and I am trying to learn how to use Ext JS framework in ASP.NET (C# or VB.NET) environment. I’ve got couple of samples, but was unable get the project working. Is there such as website or book so I can go a read up about Ext JS in more details and how can I include this into my website?

13条回答
家丑人穷心不美
2楼-- · 2020-02-17 08:46

I worked on a project that was using ExtJS heavily. I don't really know what king of problems do you actually have but we used a great combination of ExtJS, Asp.net, WCF for ExtJS Ajax calls to the server. Worked like a charm. But we abandoned the regular asp.net control usage almost completely, because most of the UI was build in ExtJS. We also used our own layout and controls with a different look and feel than ExtJS. So it didn't really look like an ExtJS app.

You could get by with regular WebMethods (as in Web Services) as well.

You will definitelly benefit a lot by using tools like Firebug and Fiddler to debug your javascript code and to examine all messages going back and forth between client and server.

Getting examples is better and better every day, since more and more people are using ExtJS in combination with various technologies. Asp.net as well.

查看更多
女痞
3楼-- · 2020-02-17 08:49

Any particular reason you've settled on Ext JS out of all the different frameworks out there? If not, since you're using ASP.NET I recommend jQuery instead as it's going to be officially supported by Microsoft soon.

查看更多
We Are One
4楼-- · 2020-02-17 08:50

I guess the following website is more relavent.

http://www.ext.net/

It provides community as well as pro version, and it just works well.

查看更多
Emotional °昔
5楼-- · 2020-02-17 08:52

Mike,

The best example site out there is http://examples.extjs.eu/. Each example has a link for viewing HTML, javascript and CSS separately.

We are successfully integrating ExtJS with the ASP.NET MVC framework. A separate post detailing how to put everything together is probably in order.

查看更多
叛逆
6楼-- · 2020-02-17 08:52

When I was learning to incorporate Ext JS with ASP.NET at my previous position, I found the best way to learn it (aside from the documentation and examples) was just going thru the forums and picking up up sample code here and there from user posts.

Once you've learned the nuances of the client API (and their online documentation and forums have been excellent in this regard), it's then just a simple matter of having your ASP.NET code returning the correct JSON for Ext JS to consume.

I have a rather outdated ASP.NET MVC / Ext JS sample project that probably won't compile anymore (it was built with an early preview release of MVC) but you can probably still go thru the code to see how Ext JS interacts with the server side code.

Ext JS and ASP.NET MVC Sample Project

查看更多
登录 后发表回答